  * GitHub: https://github.com/cbries
  * License: MIT, see https://github.com/cbries
  *
+ * 2015-06-13 Christian Benjamin Ries
+ *  - add mode (i.e. 'mF') for default LED control based on direct address access
+ * 
  * 2015-04-06 Christian Benjamin Ries
  *   - store recent mode in EEPROM
  *

byte index = 0;

void checkSerial()
{
  while (Serial.available() > 0)
  {
    DoRefresh = false;

  checkSerial();
  switch(RUNMODE)
  {
    case 'A': DoManuallyMode=false; runGrid(); break;
    case 'B': DoManuallyMode=false; for(unsigned int i=0; i < 100; ++i) { random_leds(); copyBuffer(); delayMicroseconds(10); } break;
    case 'C': DoManuallyMode=false; color_wave(18); copyBuffer(); delayMicroseconds(25); break;
    case 'D': DoManuallyMode=false; rainbow(); delayMicroseconds(25); break;
    case 'E': DoManuallyMode=false; ShowGoomba(); delayMicroseconds(25); break;
    case 'F': manuallyControl(); break;
  }
}

