markBusy() markIdle()
Example:
function sampleSensor() { markBusy(); // do some work ... markIdle(); }
Toggles the module busy state. While busy, the module prohibits the system from going into deep sleep.
Updated on 01 Oct 2020