Files

  • Not Found
  • Invalid object requested. SHA must identify a commit or a tree.
Last update 6 months 1 week by Stephen Crane
Filesmqtt-tft
..
data
.gitignore
LICENSE
Makefile
README.md
configuration.cpp
configuration.h
dbg.h
graph.cpp
graph.h
label.cpp
label.h
mqtt-tft.ino
rssi.h
stator.h
configuration.h
#ifndef __CONFIGURATION_H__ #define __CONFIGURATION_H__ class Configuration { public: bool read_file(const char *filename); protected: virtual void configure(class JsonDocument &doc) = 0; }; #define NETWORK_LEN 33 #define TOPIC_LEN 65 class graph_config { public: float max, min; unsigned refresh_interval; void configure(JsonObject &o); }; class config: public Configuration { public: char ssid[NETWORK_LEN]; char password[NETWORK_LEN]; char hostname[NETWORK_LEN]; char mqtt_server[NETWORK_LEN]; char stat_topic[TOPIC_LEN]; struct graph_config light, battery, temperature, humidity; void configure(JsonDocument &doc); }; #endif
Report a bug