-
-
-#include <EEPROM.h>
-#include <FastLED.h>
-
 // These settings change per project!
 #define NUM_LEDS    72
 #define BASE_WID  12

  }

  SavedSettings previous = settings;
  if (!Serial.readBytes((byte*)&settings, min(sizeof(settings), len))) {
    Serial.println(F("failed to read len bytes"));
    settings = previous;
    return;
  }

    // hue means number of frames in this case
    settings.hue = min(settings.hue, MAX_FRAMES);
    if (settings.hue) {
      if (!STREAM.readBytes(ledFrames, settings.hue * NUM_LEDS)) {
#if DEBUG
        Serial.print(F("failed to read "));
        Serial.print(settings.hue);
        Serial.println(F(" image frames"));
#endif
        flushSerialIn();
        settings = previous;
      }
    } else if (previous.mode == 'P') {
