mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-29 05:20:58 +00:00
Only show temp if sensor is attached. Added common functions to get temp and vcc
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <ArduinoJson.h>
|
||||
#include <MQTT.h>
|
||||
#include "AmsConfiguration.h"
|
||||
#include "HwTools.h"
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "Arduino.h"
|
||||
@@ -28,6 +29,7 @@ public:
|
||||
void setJson(StaticJsonDocument<1024> json);
|
||||
|
||||
private:
|
||||
HwTools hw;
|
||||
AmsConfiguration* config;
|
||||
Stream* debugger;
|
||||
MQTTClient* mqtt;
|
||||
|
||||
Reference in New Issue
Block a user