Zh0nd
November 5, 2017, 3:39pm
1
Hello,
I can build and upload the programs on my ESP32.
But when I run the Monitor Serial nothing happens and the LED stops blinking (the port and the baudrate are good)
I tried VS Code with PlatformIO and Sublime Text with Deviot same problems. While on the Arduino IDE everything is ok.
If anyone has a solution ?
2 Likes
Could you reproduce this issue with a simple main.cpp?
#include <Arduino.h>
void setup() {
Serial.begin(9600);
Serial.println("Test");
}
void loop () {
}
Zh0nd
November 7, 2017, 12:27pm
3
I just tried nothing, I try on another pc even worries, the problem could come from the ESP32
Zh0nd
November 22, 2017, 8:48am
4
1 Like
Does it work with Arduino IDE?
Zh0nd
December 14, 2017, 2:48pm
6
Yes, I have just found the trouble, just put Off DTR & RTS in the settings of the serial monitor.
4 Likes
This is documented in Redirecting... .
3 Likes
denohk
May 19, 2021, 12:15am
9
It works for me
adding to platformio.ini monitor_speed = 115200
monitor_rts = 0
monitor_dtr = 0
10 Likes
Thanks a lot!
this solution worked like a charm.
The serial monitor worked on the Arduino IDE, but not on the VC Code IDE.
This change fixed the problem.
I didn’t seem to need the monitor_dtr = 0
Thanks