Plant Watering Sensor
|
This module is a logger for field testing. More...
Functions | |
void | log (uint8_t oscillatorFrequency, uint16_t voltageValue, bool isButtonPressed) |
Log one entry into EEPROM. More... | |
This module is a logger for field testing.
The logger, if enabled, stores a number of records in EEPROM in a round buffer. If the end of the buffer is reached, the first records are overwritten with the new ones.
void Logger::log | ( | uint8_t | oscillatorFrequency, |
uint16_t | voltageValue, | ||
bool | isButtonPressed | ||
) |
Log one entry into EEPROM.
oscillatorFrequency | The oscillator frequency to log. |
voltageValue | The voltage value to log. |
isButtonPressed | The state of the push button to log. |