I am starting in ESP32 and OTA. I am using the ArduinoOTA library.
The serial monitor output by connecting the ESP32 via USB works correctly.
I have already managed to upload my program to the ESP32 via Wifi. Works correctly.
But I am not able to see the traces of my program. It's a simple Loop with Serial.println("Test");
My platformio.ini configuration is this:
[env:ESP32_SCAFFOLDING]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 9600 ;Serial monitor speed (9600 or
115200)
;CONFIG LOCAL
; upload_port = /dev/cu.usbserial-0001
; monitor_port = /dev/cu.usbserial-0001
;CONFIGURATION OTA
upload_protocol = espota
upload_port = 192.168.0.253
monitor_port = /dev/cu.Bluetooth-Incoming-Port
My Setup method:
void setup()
{
// Serial.begin(115200);
Serial.begin(9600);
delay(5000); // delay five seconds.
Serial.println("");
Serial.println("UPLOAD BY WIFI");
}
And my Loop:
voud loop()
{
Serial.println("WIFI LOOP!!");
}
I am working on a Mac Book Pro computer, with Monterey operating system