| 
    Plant Watering Sensor
    
   | 
 
This module contains the logic of the firmware. More...
Enumerations | |
| enum | UserAction : uint8_t { UA_None, UA_NewSetPoint, UA_DisableFlash } | 
| The action the user would like to do.  More... | |
Functions | |
| UserAction | getUserAction () | 
| Wait for the button release to get the selected user action.  More... | |
| void | configurationMode () | 
| The configuration mode.  More... | |
| void | testMode () | 
| The test mode.  More... | |
| void | main () | 
| The main loop of the firmware.  More... | |
Variables | |
| const char cFirmwareSignature [] | PROGMEM = "FW" LR_FIRMWARE_VERSION ":LuckyResistor" | 
| A message for the release version written into the image.  More... | |
This module contains the logic of the firmware.
| enum Logic::UserAction : uint8_t | 
The action the user would like to do.
Definition at line 58 of file Logic.cpp.
| void Logic::configurationMode | ( | ) | 
The configuration mode.
A sub logic entered if the button is pressed on the interface.
Definition at line 97 of file Logic.cpp.
| UserAction Logic::getUserAction | ( | ) | 
Wait for the button release to get the selected user action.
Definition at line 69 of file Logic.cpp.
| void Logic::main | ( | ) | 
The main loop of the firmware.
Definition at line 139 of file Logic.cpp.
| void Logic::testMode | ( | ) | 
The test mode.
A sub logic entered if the supply voltage is >4V.
Definition at line 118 of file Logic.cpp.