I have a HVAC vent controller sensor and I need it to be able to send data to a base station over NRF24 and also receive commands from the base station. The sensor will also run off of batteries, so I need to sleep it when necessary.
I have been able to get waking up from sleep to work separately with interrupt and also with a timer. However is it possible to have a sketch where I can wake up the arduino using the Interrupt OR the Timer in the same sketch.
I'm not partial to using a specific sleep library.
Or am I thinking about the problem wrong. Should I just have the base station periodically wake up the sensors with just the interrupt whenever I need a reading?