As I am learning the Arduino coding, I want to see if my program can turn on the LED light. I have tried all the things, but the code does not start the LED light I have installed on the board.
The code compiles successfully and upload on the board, but nothings happens after that. See the output logs as below:
See all the configuration of board as below:
The board I have: UNO+WiFi R3 ATmega328P+ESP8266 CH340G Board compatible with Arduino
https://robocraze.com/uno-wifi-r3-atmega328p-esp8266-ch340g-board-compatible-with-arduino
Board switch settings:
5,6,7 => ON (to upload the code from Arduino IDE)
Yellow LED installed:
13 => Positive, GND => Negative
Board setup:
Arduino IDE Setup:
Program:
void setup()
{
pinMode(13, OUTPUT);
}
void loop()
{
digitalWrite(13, HIGH);
delay(2000);
digitalWrite(13, LOW);
delay(2000);
}
Output logs after uploading the code:
esptool.py v2.8
Serial port COM8
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: ec:fa:bc:3e:2e:6f
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0340
Compressed 261472 bytes to 193134...
Wrote 261472 bytes (193134 compressed) at 0x00000000 in 17.1 seconds (effective 122.1 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
As you can see, the last message is Hard resetting via RTS pin....
Would anyone please tell me what is happening here? Why the program does not start the LED light even after everything looks fine?
Any help would be greatly appreciated.
Thanks.