I have an electron with firmware 0.6.2. I use the following sleep command
System.sleep(D1, RISING, SLEEP_NETWORK_STANDBY, 120);
The system will wakeup after two minutes, but will not wkaeup when D1 gose high. (using a scope I see it come from 2mn to 3.25V
I have initialized D1 as
Do I also need to initialize it as an interrupt for this to work?