How to show the serial monitor?

Hello,

I am new to platform io as i want to use a library that is not available for Arduino Ide.

I have this platform ini

[env:esp32cam]
platform = espressif32
board = esp32cam
framework = arduino

monitor_speed = 115200      
upload_port = COM4 
monitor_port = COM4

This is the main cpp

#include <Arduino.h>

void setup() {
  Serial.begin(115200); // Start the serial communication at 115200 baud rate
  Serial.println("Serial communication started.");
}

void loop() {
  Serial.println("Hello! This message is sent every 5 seconds.");
  delay(5000); // Wait for 5 seconds
}

. So then I build, then click upload and monitor. Got this

Wrote 279568 bytes (154673 compressed) at 0x00010000 in 3.5 seconds (effective 635.2 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
--- Terminal on COM4 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H

, and thats about it. The serial monitor button next to upload seems to do the same, so I ask where is the monitor?

Thanks in advance,

Albert

The ESP32Cam board is special. It needs the DTR/RTS signals be inactive to run. Add

monitor_rts=0
monitor_dtr=0

to your platformio.ini and retry.

As seen in

1 Like

Thank you, and apologies for asking an already answered question.

1 Like