int attempt_number
Definition Device.h:19
Implementation of the PCF8523 sensor.
Definition PCF8523Sensor.h:13
PCF8523Sensor()
Definition PCF8523Sensor.cpp:3
String decodeToCSV(uint8_t *&packet) override
Decode the packet data and returns it in CSV format.
Definition PCF8523Sensor.cpp:63
String readData() override
Returns the collected data from the sensor in CSV format.
Definition PCF8523Sensor.cpp:14
RTC_PCF8523 rtc
Definition PCF8523Sensor.h:15
bool verify() override
Verifies if the sensor is connected and working.
Definition PCF8523Sensor.cpp:8
void readDataPacket(uint8_t *&packet) override
Reads sensor data and appends it to the packet byte array.
Definition PCF8523Sensor.cpp:37
void calibrate()
Definition PCF8523Sensor.cpp:22
Parent class for sensor objects.
Definition Sensor.h:13
unsigned long minimum_period
Definition Sensor.h:15