-
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Most appropriate sub-area of Processing 4?
Events, IO
Processing version
4.4.7
Operating system
Windows 10
Bug description
I noticed that when you physically remove a connected serial device processing does not detect it and serial.list() does not update.
Steps to reproduce this
1.connect serial device.
2.run below sketch (set correct serial port).
3.unplug serial device.
snippet
import processing.serial.*;
Serial myPort; // Create object from Serial class
void setup()
{
size(200, 200);
String portName = Serial.list()[0];
myPort = new Serial(this, portName, 9600);
}
void draw()
{
println(Serial.list());
delay(500);
}
Additional context
The https://fazecast.github.io/jSerialComm/ library can detect hardware disconnects.
Would you like to work on the issue?
No, I’m just reporting the issue
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working