I want to try a really common use case:
1 - have a DK sleep most of the time to conserver battery power
2 - wake up every < n > seconds (think 300, 600, 3600)
3. take a reading from < some peripheral >
4. publish the reading to the particle cloud
In a photon/electron, I would use: System.sleep(SLEEP_MODE_DEEP, (long)(300)), what is the best practice for a DK ?