gardensensor/values.hpp

17 lines
318 B
C++

#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);
};