coin_cost(cost);
send_ack();
}
+
void send_keypress(u8 key) {
/* send a packet of the form KX with X being the key, or R for reset */
wait_for_tx_free();
keypad_read();
if (keypad_pressed()) {
send_keypress(last_key);
- /* beep? */
}
if (coin_value != last_coin_value) {