Scheduling Tasks
-
Can anyone provide a general way to schedule tasks and sleep in between intervals ?
Eg: Read a sensor value every 1 hour then send data over MQTT every 4 hours and in between go to deep sleep ?
-
You can create a timer chrono / alarm instance using the following API: https://docs.pycom.io/firmwareapi/pycom/machine/timer/