We are about to switch to a new forum software. Until then we have removed the registration on this forum.
My sketch uses com port for I/O controller for every open there is a stop port If i close the program ( click X in upper right on Window) and try to restart program I get error com port busy.
How do i clean up , release the com port when the program is closed? Its stopped in program , but apparently still busy when program closed.
I tryed to work around by making small program to close port, and writing script to execute it when i closed the window, but it just runs into the busy port error before it can open and shut off outputs and stop.
thanks
Answers
https://processing.org/reference/libraries/serial/Serial_stop_.html