 //    if (debugMode) { Serial.print("|");
 //                     for (int x=0; x<10; x++) { Serial.print(inputBuffer[x]); }
 //                     Serial.print("|"); }
-    recentActivity = true;
     switch (inputBuffer[0]) {
       case 'd': { toggleDebug(); break; }
       case 'V': { processColor(); break; } // set value specified in V#FFFFFF input

  flashThread.check();
  timeoutThread.check();
}

void processSerialIn() {
  Serial.readBytesUntil('\n',inputBuffer,SERIAL_BUFFER_LENGTH);

  Serial.setTimeout(SERIAL_CYCLE_LENGTH_MS/7); //should be substantially less than serialThread's execution window
  Serial.begin(BAUDRATE);
  quickCycle(150); // power-up notification
  gradientPulseSetup(RED,OFF,1.5);
  gradientLoop = true;
  gradientReversingMode = true;
  Wire.begin(1); // slave device, address 1
  Wire.onReceive(processI2CIn); //I guess this'll run between loop()s when we get data; hopefully it won't actually interrupt anything...
}

void loop() {  
