 // Return the switch position from 0-9.
 uint8_t switchPosition(uint8_t pin) {
     uint16_t analog = analogRead(pin);
-    // readings are 91, 128, 176, 235, 509, 605, 768, 695, 930, 958
+    // readings are 91, 128, 176, 235, 509, 605, 767, 695, 930, 958
     if (analog < 127)   return 0;
     if (analog < 175)   return 1;
     if (analog < 234)   return 2;
     if (analog < 508)   return 3;
     if (analog < 604)   return 4;
     if (analog < 694)   return 5;
-    if (analog < 767)   return 7;
+    if (analog < 765)   return 7;
     if (analog < 929)   return 6;
     if (analog < 957)   return 8;
     return 9;

// Initial setup, called once on boot.
void setup() {
    FastLED.addLeds<NEOPIXEL, PIN_LED>(leds, NUM_LEDS).setCorrection(TypicalSMD5050);
#ifdef DEBUG_POTS
    Serial.begin(115200);
#endif
}

#include <FastLED.h>

// Serial DEBUG mode on/off
#undef DEBUG_SERIAL
#undef DEBUG_ANIMATION
#undef DEBUG_POTS

// Analog input pins.
