Serial Library: Connect and disconnect
in
Core Library Questions
•
2 months ago
I need to connect and disconnect the serial port while my draw() loop is running.
I can connect once (in setup()) using:
myPort =
new
Serial (
this
, Serial.list()[0], 9600);And I can disconnect (in draw()) using:
Serial(close);
How can I re-connect again in draw()?
1