   }
 }
 
+int RUNMODE_EEPROM_ADDR = 0x00;
+volatile byte RUNMODE = 'C';
+
 void setup(void) 
 {
   pinMode(SPI_CLOCK, OUTPUT);

  
    if(sbuf[0] == 'm' && index == 3)
    {
      RUNMODE = sbuf[1];
      Serial.println(" OK ");
    }
  

  Serial.println("*** Initialized ***");
 
  randomSeed(analogRead(0));
 
  RUNMODE = EEPROM.read(RUNMODE_EEPROM_ADDR);
     
  setup_hardware_spi();
  memset((void*)brightness, 0, sizeof(brightness));  
