 // The move delay.
 const long move_interval = 100; 
 
+// When the last transmit was attempted.
+unsigned long tx_last = 0; 
+// The transmit interval.
+const long tx_interval = 2000; 
+
+byte ledState = HIGH;
+byte msgId = 0;
+
 ServoTimer2 servo_virt;
 ServoTimer2 servo_horz;
 

    unsigned long now = millis();
    if (now - move_last >= move_interval) {
        move_last = now;
        // Move the panels if needed.
        tkr_move();
    }
}


  return result; // Vcc in millivolts
}

void watchdog_setup()
{
  // Reset after 8 seconds, 
  // unless wdt_reset(); has been successfully called
  wdt_enable(WDTO_8S);
}

