It's a long time since that statement, but I tried this
void dmy()
{
digitalWrite(D7, !digitalRead(D7));
}
void setup() {
pinMode(D7, OUTPUT);
attachInterrupt(RI_UC, dmy, FALLING);
attachInterrupt(D1, dmy, FALLING);
}
void loop() {
static uint32_t ms = 0;
if (millis() - ms > 60000) {
System.sleep(RI_UC, FALLING, 20*60, SLEEP_NETWORK_STANDBY);
ms = millis();
}
}
And unlike the experience from back then
This seems not (anymore) to work. But having multiple wake sources would still be desirable.
Alternatively with a new hardware revision - or at least on the E Series - having the RI_UC for wake on SMS brought out a HW button could be used to wake locally too.
(Unless someone can spot my mistake and point me to it - I'd be grateful )