App class
Contents
The main app, only one instance of this can run. Initializes WiFi, SD card, and non-volatile flash on startup. It then sets up threads for sensors to be handled on interrupts or at a timer interval.
Base classes
- class Thread
Constructors, destructors, conversion operators
Protected functions
Function documentation
App:: App()
Creates the application and initializes resources such as event loops.
App:: ~App()
Frees allocated resources on shutdown or sleep.
void App:: init() override protected
Initialize the app to run on the main thread.
void App:: loop() override protected
Perform any necessary updates. (Most are through interrupts)