#define THINKER_SERIAL_DEBUG
#include <ThingerESP32.h>
#define USERNAME "sivasree" 
#define DEVICE_ID "esp32_led"
#define DEVICE_CREDENTIAL"-ICO$1BiwxYbWZSj"

#define SSID "Wokwi-GUEST"
#define SSID_PASSWORD ""

ThingerESP32 thing(USERNAME,DEVICE_ID,DEVICE_CREDENTIAL);
void setup(){
  Serial.begin(115200);
  pinMode(2,OUTPUT);
  thing.add_wifi(SSID,SSID_PASSWORD);
  thing["sj"]<<digitalPin(2);
  thing["millis"]>>outputValue(millis());

  

}
void loop(){
  thing.handle();
}