about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJared DeCook <jared@shapingthesilence.com>2023-07-19 21:40:43 -0400
committerZach DeCook <zachdecook@librem.one>2023-07-19 21:40:43 -0400
commitae8ff80102308ca7906860777c57e47f4c7391f4 (patch)
treee8904378e40b0b0dd293510be596f3fed8e0ba2f
parent136fc5dbacb51a56c28932397195a2c437955bc5 (diff)
downloadHexBoard-ae8ff80102308ca7906860777c57e47f4c7391f4.tar.gz
Simplify brightness settings for production model
-rw-r--r--HexBoard_V1.1.ino12
1 files changed, 8 insertions, 4 deletions
diff --git a/HexBoard_V1.1.ino b/HexBoard_V1.1.ino
index 1896d5c..209c81d 100644
--- a/HexBoard_V1.1.ino
+++ b/HexBoard_V1.1.ino
@@ -44,9 +44,9 @@ int dimBrightness = 20;
 int pressedBrightness = 255;
 #elif ModelNumber == 2
 Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);
-int stripBrightness = 110;
-int defaultBrightness = 140;
-int dimBrightness = 40;
+int stripBrightness = 130;
+int defaultBrightness = 100;
+int dimBrightness = 36;
 int pressedBrightness = 255;
 #endif
 
@@ -367,7 +367,11 @@ GEMSelect selectModSpeed(sizeof(selectModSpeedOptions) / sizeof(SelectOptionByte
 GEMItem menuItemModSpeed("Mod Wheel:", modWheelSpeed, selectModSpeed);
 
 void setBrightness();  //Forward declaration
-SelectOptionByte selectBrightnessOptions[] = { { "Night", 10 }, { "Dim", 30 }, { "Low", 70 }, { "Medium", 110 }, { "High", 160 }, { "Highest", 210 }, { "MAX(!!)", 255 } };
+#if ModelNumber == 1
+SelectOptionByte selectBrightnessOptions[] = { { "Night", 10 }, { "Dim", 30 }, { "Low", 70 }, { "Medium", 110 }, { "High", 160 }, { "Higher", 210 }, { "MAX(!!)", 255 } };
+#elif ModelNumber == 2  // Reducing options to simplify and because the lights aren't as bright.
+SelectOptionByte selectBrightnessOptions[] = { { "Dim", 20 }, { "Low", 70 }, { "Medium", 130 }, { "High", 190 }, { "Max", 255 } };
+#endif
 GEMSelect selectBrightness(sizeof(selectBrightnessOptions) / sizeof(SelectOptionByte), selectBrightnessOptions);
 GEMItem menuItemBrightness("Brightness:", stripBrightness, selectBrightness, setBrightness);