   
   Serial.begin(SERIAL_BAUD);
   Serial.println("\n[RF12tune.0]");
-}
-
-void loop() {
-  unsigned int scan,upLow, upHigh, downLow, downHigh;
   
   for (byte i = 0; i < (RF12_EEPROM_SIZE * 2); i+=2 ) {
     w = ChkHex(importedConfig[i]);

  for (scan = (frequency - 50); scan < (frequency + 50); ++scan)
  {
   rf12_control(0xA000 + scan); 
//   Serial.print("Sending "); 
//   Serial.println(scan);
   byte good = probe();
   if (good){
     if (scan > upHigh) upHigh = scan;
     if (scan < upLow) upLow = scan;
     Serial.print("\n");
     Serial.print(good);
//     Serial.print("Received "); 
//     Serial.println(scan);
     delay(50); 
   }
      else {

  for (scan = (frequency + 50); scan > (frequency - 50); --scan)
  {
   rf12_control(0xA000 + scan); 
   byte good = probe();
   if (good){
     if (scan > downHigh) downHigh = scan;
     if (scan < downLow) downLow = scan;
//     Serial.print("\n");
//     Serial.print(good);
     delay(50); 
   }
      else {
