/********* By the Autonomous Systems Laboratory 2022-2023, for the Department of Informatics & Telecommunications Lesson "Internet of Things" Computer System Courses Flow of the 7th Semester *********/ #include //include the official Thinger.io library #define USERNAME "USERNAME" //Enter your Thinger.io's account Username #define DEVICE_ID "ESP32AMXXXX" //Enter your registered device ID #define DEVICE_CREDENTIAL "ABCDEFGHJIJKLMNOPQSTYVWXYZ" //Enter your registered device credentials #define SSID "XXXXXXXXXX" //Enter your Wi-Fi ID #define SSID_PASSWORD "XXXXXXXXXXXXXX" //Enter your Wi-Fi password ThingerESP32 thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL); //create a connection between the ESP32 & Thinger.io void setup() { // open serial for debugging Serial.begin(115200); //intialize the serial baud rate to 115200 bauds/sec thing.add_wifi(SSID, SSID_PASSWORD); //establish the Wi-Fi connection // Print a message into the Thinger.io API Console thing["Hello World!"]; } void loop() { thing.handle(); //handle the connection }