Well this is getting really hard to solve. I have a program for the esp32 and it works perfectly with the arduino ide terminal but not in the VS platformio serial monitor, neither in the putty terminal.
The issue appears when reading data from the serial monitor.
I’ve used Serial.readStringUntil(‘\n’); and Serial.readBytesUntil(‘\n’,buff,length); and doesnt work.
The problem is that the serial monitor only allows to type 1 character, and as soon as you press the key, then it stops reading the serial monitor and exit the Serial.read function, thus despite I want to read a string, I can only read 1 character and that’s not okay at all.
Please I’m not new in this, the baudrate and the rest of the serial terminal configuration is right, as i mentioned before it works perfectly in the arduino ide. I tried to install the arduino extension but doesnt work too.
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
Thanks in advance.