I don't know if I got it right, therefore the following question: I thought in KEYSCAN MODE the zuno wakes up from sleep if one of the pins(17-23) goes to low. That doesn't work at my board. The Zuno only wakes up by pin 17, 18 and 23 going low.
Ports 17-23 are INPUT_PULLUPs and I tried to connect them with the ground. Zuno wakes up at pin 17, 18 and 23. The ports 19-22 only work a short period after the wake up (1 s).
Is this normal? In the References I can't find a clear answer (for example if the zuno wakes up on every key...).
Thank you.
Code: Select all
ZUNO_SETUP_SLEEPING_MODE(ZUNO_SLEEPING_MODE_FREQUENTLY_AWAKE);
setup:
pinMode(17, INPUT_PULLUP);
pinMode(18, INPUT_PULLUP);
pinMode(19, INPUT_PULLUP);
pinMode(20, INPUT_PULLUP);
pinMode(21, INPUT_PULLUP);
pinMode(22, INPUT_PULLUP);
pinMode(23, INPUT_PULLUP);
zunoSetWUOptions(ZUNO_WUPFLAGS_INT1_KEYSCAN);
zunoSetBeamCountWU(30);
loop:
delay(10);
zunoSendDeviceToSleep();