this is appearing in the serial moniter when i press reset button on the esp32 doit devkit
"�E����c�P����"T������/!�(E�a!Ƞ�"��8eqHЈ�R�������!aI5� =Ba
����I �� ����,��Vafq�***** Arduino IoT Cloud - configuration info *****
Device ID: a452b2ae-f113-43f6-b6f4-23c4c02aef22
MQTT Broker: mqtts-up.iot.arduino.cc:8884
WiFi.status(): 255
Connection to "**************" failed
Retrying in "4000" milliseconds"
the code that I am using is here
/*
Sketch generated by the Arduino IoT Cloud Thing "Untitled 2"
https://create.arduino.cc/cloud/things/2912423e-1987-4f24-ac75-e63db463615d
Arduino IoT Cloud Variables description
The following variables are automatically generated and updated when changes are made to the Thing
CloudLight led;
Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
which are called when their values are changed from the Dashboard.
These functions are generated with the Thing and added at the end of this sketch.
*/
#include "thingProperties.h"
void setup() {
// Initialize serial and wait for port to open:
Serial.begin(9600);
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
pinMode(2,OUTPUT);
// Defined in thingProperties.h
initProperties();
// Connect to Arduino IoT Cloud
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
/*
The following function allows you to obtain more information
related to the state of network and IoT Cloud connection and errors
the higher number the more granular information you’ll get.
The default is 0 (only errors).
Maximum is 4
*/
setDebugMessageLevel(2);
ArduinoCloud.printDebugInfo();
}
void loop() {
ArduinoCloud.update();
// Your code here
}
/*
Since Led is READ_WRITE variable, onLedChange() is
executed every time a new value is received from IoT Cloud.
*/
void onLedChange() {
// Add your code here to act upon Led change
if (led == 1)
{
digitalWrite(2,HIGH);
}
else
{
digitalWrite(2,LOW);
}
}
link to my project here
please don't change anything in my code
used this esp32 inbuilt led in this project
