From 7d4550889997002e7af60c03fa0150e164ac4c8b Mon Sep 17 00:00:00 2001 From: Seth Date: Fri, 11 Oct 2024 16:17:20 +1300 Subject: [PATCH] changed the brightness of the middle setting from 7 to 5 --- GPSSpeedMultiCore.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GPSSpeedMultiCore.ino b/GPSSpeedMultiCore.ino index b448468..bdc59b6 100644 --- a/GPSSpeedMultiCore.ino +++ b/GPSSpeedMultiCore.ino @@ -9,6 +9,7 @@ #define GPS_WAIT_TIME 1100 #define GPS_UPDATE_FREQUENCY 10 //GPS update frequency per sec #define DEBOUNCE_DELAY 250 //time in ms +#define MIDDLE_SCREEN_BRIGHTNESS 5 //GPS SFE_UBLOX_GPS myGPS; @@ -92,8 +93,8 @@ void loop() { //change brightness if (buttonPushed == true) { if (screenBrightness == 15) { - screenBrightness = 7; - } else if (screenBrightness == 7) { + screenBrightness = MIDDLE_SCREEN_BRIGHTNESS; + } else if (screenBrightness == MIDDLE_SCREEN_BRIGHTNESS) { screenBrightness = 0; } else { screenBrightness = 15;