Wii Nunchuk via RFM69HW to Duplo 9203 Remote Control Car Kit using ARM mbed on a FRDM-KL25Z
Dependencies: CRC FastPWM RFM69 USBDevice WakeUp WiiChuk_compat mbed-rtos mbed tlc59108
Fork of wiiNunchuk_compat by
Diff: main.cpp
- Revision:
- 21:46a864a4b9d5
- Parent:
- 20:95a8fe0a15bc
- Child:
- 22:d4d991c7a40b
--- a/main.cpp Tue Jun 28 13:41:30 2016 +0000 +++ b/main.cpp Tue Jun 28 13:43:11 2016 +0000 @@ -291,7 +291,7 @@ rx_snoozing = true; radio.sleep(); - WakeUp::set(5);//rx_last_contact.read() < 10? 1 : 5); + WakeUp::set(rx_last_contact.read() < 60? 1 : 5); deepsleep(); rx_snoozing = false; rx_to_snooze = true;