 void setup() {
   Serial.begin(115200); // use the serial port
   Serial.println("starting");
+  
  // ADC configuration
  // set prescale to 16
  sbi(ADCSRA,ADPS2) ;

 


 // Spells initialization

 spell_length = new int[NUM_SPELLS];
 spell_sequence = new int*[NUM_SPELLS];
 spell_name = new char*[NUM_SPELLS];

           else
             pin13_state=LOW;
           digitalWrite(13, pin13_state);
           char sbuf[100];
           sprintf(sbuf, "SPELL:%s", spell_name[spell]);
           Serial.println(sbuf);
           chibiTx(BROADCAST_ADDR, (unsigned char*)(&sbuf), strlen(sbuf)+1);
           free(sbuf);           
          }
          if(spell==1)
          {
