Hi,
I have a problem with starting communication between the Raspberry Pi Pico and the Serial Monitor in Arduino 1.8.13.
My settings:
- official board R Pi Pico
- Arduino Mbed OS RP 2040 Board v3.0.1 installed
I can program the board without problems: the blink example, SPI display is working.
But I have a problem communicating with Serial Monitor in Arduino.
I'm uploading an example:
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.write("Hello world!");
delay(1000);
}
I also tried with:
Serial1.begin(9600);
Serial1.write("Hello world!");
and i have an error opening COM port communication:
processing.app.SerialException: Błąd otwarcia portu szeregowego 'COM6'.
at processing.app.Serial.<init>(Serial.java:152)
at processing.app.Serial.<init>(Serial.java:82)
at processing.app.SerialMonitor$2.<init>(SerialMonitor.java:132)
at processing.app.SerialMonitor.open(SerialMonitor.java:132)
at processing.app.AbstractMonitor.resume(AbstractMonitor.java:132)
at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2120)
at processing.app.Editor.access$1300(Editor.java:117)
at processing.app.Editor$UploadHandler.run(Editor.java:2089)
at java.lang.Thread.run(Thread.java:748)
Caused by: jssc.SerialPortException: Port name - COM6; Method name - openPort(); Exception type - Port not found.
at jssc.SerialPort.openPort(SerialPort.java:167)
at processing.app.Serial.<init>(Serial.java:141)
... 8 more
Błąd otwarcia portu szeregowego 'COM6'.