Basecamp
Basecamp - ESP32 library to simplify the basics of IoT projects Written by Merlin Schumacher (mls@ct.de) for c't magazin für computer technik Licensed under GPLv3. See LICENSE for details.
Dependencies
This library has few dependencies:
Documentation
Exhaustive documentation will provided in the next few weeks. An example can be found inside the example folder.
Basic example
#include <Basecamp.hpp>
Basecamp iot;
void setup() {
iot.begin();
//The mqtt object is an instance of Async MQTT Client. See it's documentation for details.
iot.mqtt.subscribe("test/lol",2);
//Use the web object to add elements to the interface
iot.web.addInterfaceElement("color", "input", "", "#configform", "LampColor");
iot.web.setInterfaceElementAttribute("color", "type", "text");
}
void loop() {
//your code
}