ESP32-C3-01M built in led flashing and serial not working
Posted: Sat Apr 01, 2023 2:37 pm
Hi!
I recently ordered an esp32-c3-01m kit microcontroller and encountered two issues with it.
I would like to use it to drive a 7-segment display, but I noticed that the display flashes approximately every 2 seconds (there is no delay or serial print in the code). I won't include the code for this because it also causes the LEDs on the board (cold and warm white) to flash simultaneously after a simple digitalWrite turn-on.
The other problem is with the serial monitor.
Previously, with the esp32, I was used to sending debug messages to the serial monitor when it started/restarted, but this does not send anything. Even with the following basic code, I don't get anything when I open the serial monitor:
The only thing I notice when I open the serial monitor is that all the LEDs on the board turn off, and they turn on again when I close the serial monitor.
For me, Serial is not important for this project, but I thought maybe it's related to the two issues. If the LEDs wouldn't flash, I would be satisfied with it.
Does anyone have any ideas or has anyone experienced something similar?
I recently ordered an esp32-c3-01m kit microcontroller and encountered two issues with it.
I would like to use it to drive a 7-segment display, but I noticed that the display flashes approximately every 2 seconds (there is no delay or serial print in the code). I won't include the code for this because it also causes the LEDs on the board (cold and warm white) to flash simultaneously after a simple digitalWrite turn-on.
The other problem is with the serial monitor.
Previously, with the esp32, I was used to sending debug messages to the serial monitor when it started/restarted, but this does not send anything. Even with the following basic code, I don't get anything when I open the serial monitor:
- void setup() {
- Serial.begin(115200);
- pinMode(18, OUTPUT); //Cold and warm white built in led
- pinMode(19, OUTPUT);
- }
- void loop() {
- digitalWrite(18, HIGH);
- digitalWrite(19, HIGH);
- Serial.println("hello");
- delay(1000);
- }
For me, Serial is not important for this project, but I thought maybe it's related to the two issues. If the LEDs wouldn't flash, I would be satisfied with it.
Does anyone have any ideas or has anyone experienced something similar?