I am using the System.sleep(uint16_t wakeUpPin, uint16_t edgeTriggerMode) system call on the photon.
The code works as documented, but I would need to be able to wake up on either of two input signals, not just one.
I have read somewhere that the STM32 supports this, but Particle’s firmware does not. I was wondering if someone can share some pointers on how to work around this limitation and configure the photon to wake up on two pins instead of one.
Any help will be greatly appreciated!