Ejemplo n.º 1
0
/** This function is executed by the timer
 */
void handle_timer (TimerId id, void *data, unsigned long delta) {
  if (wakeup(3) && send_loop()) decode_and_send_to_ivy();
}
Ejemplo n.º 2
0
/**
 * Get data from the station and send it via Ivy.
 * This function is executed by the timer.
 */
void handle_timer (TimerId id, void *data, unsigned long delta) {
  if (send_S()) decode_and_send_to_ivy();
}