Windows 11 (auto update)
Processing 4.4.4
I have two USB ports available, and both work with other hardware not related to Processing (mouse, USB printer, USB memory, battery tester, audio player, Arduino, ESP). Using this sketch, I expected to see both ports, but see nothing in the “console” or “errors” windows of the Processing IDE.
import processing.serial.*;
printArray(Serial.list());
The Reference Page for Serial.list()
says to use println();
, so I tried that, too, but the same results: nothing in the command line. I copied the command line and pasted it into the IDE as well as Notepad (hoping for inverse color text) but that only showed ten, empty, CRLF
.
I tried searching the forum, but found nothing pointing me to my error, for example, did I neglect to configure my IDE for using Serial
or import
a library?
The IDE:
The output window: