            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)
           {

      Serial.print(" ");
      Serial.print(volume);
      Serial.println(" ");
    }
    if(note<10)
    {
      // then it is not a note

        }
        seq_index=(seq_index+1)%10;
    }

    // Radio receive
    if (chibiDataRcvd() == true)
    { 
      int rssi, src_addr, len;
      len = chibiGetData(radio_buf);
      if (len == 0) {
        Serial.println("Null packet received");
        return;
      }
      
      // retrieve the data and the signal strength
      rssi = chibiGetRSSI();
      src_addr = chibiGetSrcAddr();
      Serial.print("Signal strength: ");
      Serial.print(rssi);
      Serial.print("\t");
      if (len)
      {
        Serial.println((char*)(radio_buf));
      }
    }
}
