OPEnSLab-OSU / Loom

Arduino library for Internet of Things Rapid Prototyping in environmental sensing
GNU General Public License v3.0
26 stars 3 forks source link

Power-Cycle Function Ordering is not Specified #79

Closed prototypicalpro closed 4 years ago

prototypicalpro commented 4 years ago

Now that Loom is planning to break out the automatic initialization from LoomManager::sleep() into the sketch, a documentation page is needed to specify the ordering in which Loom functions should be called on wakeup. This includes things such as turning on the Hypnos Board, clearing the RTC interrupt, calling Loom::power_up() and so on. This page also needs to address modules that we do not have a formal ordering for, but may cause conflict (ex. Ethernet and LoRa).

BGoto808 commented 4 years ago

https://github.com/OPEnSLab-OSU/Loom/wiki/Loom-Power-Cycle-Function-Ordering

prototypicalpro commented 4 years ago

Could you add some example code snippets that include interrupt operations and the RTC operations? Things like reconnect_interrupt.