p5.js-editor
p5.js-editor copied to clipboard
Serialserver implementation never closes port
When you use p5.serialport in the editor (0.5.4 or later) the serialport in the serialserver is never closed when you stop the sketch. The problem with this is that, when you restart the sketch, the port you opened previously is still open. This causes problems for other applications attempting to open the port (like Arduino IDE). It also makes it impossible to choose a new port.
See p5.serialport PR #10 (vanevery/p5.serialport#10) for an example of this in action.
repost from @tigoe https://github.com/processing/p5.js/issues/964