|
#include <Adafruit_seesaw.h>
|
|
#include <PubSubClient.h>
|
|
|
|
class Values {
|
|
public:
|
|
uint16_t moisture;
|
|
float temperature;
|
|
float battery;
|
|
int8_t rssi;
|
|
uint32_t boot_count;
|
|
|
|
Values() {};
|
|
~Values() {};
|
|
|
|
bool read(Adafruit_seesaw* ss);
|
|
bool send(PubSubClient* mqtt, const char* topic);
|
|
}; |