#define THINGER_SERIAL_DEBUG
#include<ThingerESP32.h>
ThingerESP32 thing("MrUdin08","iot","666666");
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(12, OUTPUT);
thing.add_wifi("Wokwi-GUEST","");
thing["Lampu"] << digitalPin(12);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
thing.handle();
}