| 
    Plant Watering Sensor
    
   | 
 
Variables | |
| const uint16_t | cMinimumVoltageValue = 550u | 
| The minimum voltage value.  More... | |
| const uint16_t | cTestVoltageValue = 900u | 
| The test voltage value.  More... | |
| const uint16_t | cTestHighOscillator = 160u | 
| Test value for air.  More... | |
| const uint16_t | cTestLowOscillator = 100u | 
| Test value for glass of water.  More... | |
| const uint16_t | cDisplayFlashDurationMs = 40 | 
| The flash duration.  More... | |
| const uint16_t | cDisplayFlashPauseMs = 100 | 
| The pause between two flashes.  More... | |
| const uint8_t | cDisplayPulseMaximumPwm = 60 | 
| The maximum PWM for a pulse.  More... | |
| const uint8_t | cDisplayPulseCyclesPerLevel = 20 | 
| The number of cycles for each PWM level.  More... | |
| const uint8_t | cDisplayDimSignalPwm = 50 | 
| The PWM value for the dim signal.  More... | |
| const uint16_t | cDisplayDimSignalCycles = 600 | 
| The duration of the dim signal.  More... | |
| const uint8_t | cLogicPulsesForUserAction = 5 | 
| The number of pulses for the selection of the user action.  More... | |
| const uint8_t | cDefaultSetPointFrequency = 170 | 
| The default set-point value if none is set.  More... | |
| const uint8_t | cDisabledSetPointFrequency = 200 | 
| The set-point value if the user disabled it.  More... | |
| const uint8_t | cSetPointCompensation = 5 | 
| Set-point compensation for human touch of the button.  More... | |
Testing options.  | |
Options used to enable or disable various test functionality.  | |
| const bool | cPowerSave = true | 
| This flag controls if the times, etc.  More... | |
| const bool | cTestLoopEnabled = false | 
| This flag enables the test loop, which never stops but runs the logic in a loop.  More... | |
| const bool | cTestModeEnabled = true | 
| This flag enables the test mode which is activated with a 4V VCC voltage.  More... | |
| const bool | cConfigurationModeEnabled = true | 
| This flag enables the configuration mode.  More... | |
| const bool | cLoggingEnabled = false | 
| This flag enables logging of the last 10 values into SRAM.  More... | |
| const bool | cFirmwareSignatureEnabled = true | 
| This flag enables the firmware signature text.  More... | |
| const bool Configuration::cConfigurationModeEnabled = true | 
This flag enables the configuration mode.
Definition at line 110 of file Configuration.h.
| const uint8_t Configuration::cDefaultSetPointFrequency = 170 | 
The default set-point value if none is set.
Definition at line 81 of file Configuration.h.
| const uint8_t Configuration::cDisabledSetPointFrequency = 200 | 
The set-point value if the user disabled it.
Definition at line 85 of file Configuration.h.
| const uint16_t Configuration::cDisplayDimSignalCycles = 600 | 
The duration of the dim signal.
Definition at line 73 of file Configuration.h.
| const uint8_t Configuration::cDisplayDimSignalPwm = 50 | 
The PWM value for the dim signal.
Definition at line 69 of file Configuration.h.
| const uint16_t Configuration::cDisplayFlashDurationMs = 40 | 
The flash duration.
Definition at line 53 of file Configuration.h.
| const uint16_t Configuration::cDisplayFlashPauseMs = 100 | 
The pause between two flashes.
Definition at line 57 of file Configuration.h.
| const uint8_t Configuration::cDisplayPulseCyclesPerLevel = 20 | 
The number of cycles for each PWM level.
Definition at line 65 of file Configuration.h.
| const uint8_t Configuration::cDisplayPulseMaximumPwm = 60 | 
The maximum PWM for a pulse.
Definition at line 61 of file Configuration.h.
| const bool Configuration::cFirmwareSignatureEnabled = true | 
This flag enables the firmware signature text.
Definition at line 119 of file Configuration.h.
| const bool Configuration::cLoggingEnabled = false | 
This flag enables logging of the last 10 values into SRAM.
Definition at line 114 of file Configuration.h.
| const uint8_t Configuration::cLogicPulsesForUserAction = 5 | 
The number of pulses for the selection of the user action.
Definition at line 77 of file Configuration.h.
| const uint16_t Configuration::cMinimumVoltageValue = 550u | 
The minimum voltage value.
Measured at ~2.40V: ADC Value = 550
Definition at line 35 of file Configuration.h.
| const bool Configuration::cPowerSave = true | 
This flag controls if the times, etc.
should be shutdown after use to preserve power.
Definition at line 98 of file Configuration.h.
| const uint8_t Configuration::cSetPointCompensation = 5 | 
Set-point compensation for human touch of the button.
Definition at line 89 of file Configuration.h.
| const uint16_t Configuration::cTestHighOscillator = 160u | 
| const bool Configuration::cTestLoopEnabled = false | 
This flag enables the test loop, which never stops but runs the logic in a loop.
Definition at line 102 of file Configuration.h.
| const uint16_t Configuration::cTestLowOscillator = 100u | 
| const bool Configuration::cTestModeEnabled = true | 
This flag enables the test mode which is activated with a 4V VCC voltage.
Definition at line 106 of file Configuration.h.
| const uint16_t Configuration::cTestVoltageValue = 900u |