ThingSpeak Cloud || Data send to Cloud using Arduino / ESP 32 || IoT Project|| IoT Experiment
 #include <WiFi.h> #include <HTTPClient.h> int x=0; // Set our wifi name and password const char* ssid = "MClasses"; const char* password = "12345678"; String serverName = "https://api.thingspeak.com/update?api_key=XXXXXXXXXXXXXX&field1=0"; unsigned long lastTime = 0; unsigned long timerDelay = 60000; void setup() {   pinMode(34,INPUT);   Serial.begin(9600); // Opens up the serial port with a baudrate of 9600 bits per second   WiFi.begin(ssid, password); // Attempt to connect to wifi with our password   Serial.println("Connecting"); // Print our status to the serial monitor   // Wait for wifi to connect   while(WiFi.status() != WL_CONNECTED) {     delay(500);     Serial.print(".");   }   Serial.println("");   Serial.print("Connected to WiFi network with IP Address: ");   Serial.println(WiFi.localIP()); } void loop() {   if ((millis() - lastTime) > timerDelay) { // Check if its been a minut...