p5.js-editor icon indicating copy to clipboard operation
p5.js-editor copied to clipboard

serial server notes (from ITP workshop)

Open shiffman opened this issue 10 years ago • 1 comments

We had a workshop today with heavy use of the p5.js editor and the new serial server. I'm making some notes here as I recall. Some of these issues may be for the serialport repo.

  • Should editor include p5.serialport.js? Probably not for every project. Probably as some sort of "add library" option.
  • Does the editor restart the server on each run? I was having issues with zombie console logging when sketches are closed.
  • There should probably be an "enable serial" editor option? No reason to run the serial server when not used. Warn the user if they are including p5.serialport but not running the server?
  • Should there be a tool, like in arduino, to see the available ports and/or do some sort of serial monitoring (separate from println() in your code)?

We should meet and then we can break these out into separate issues depending on what we decide.

cc @lmccart @vanevery

shiffman avatar Oct 02 '15 21:10 shiffman

Re: "Does the editor restart the server on each run? I was having issues with zombie console logging when sketches are closed." This may be an issue with the p5.serialserver itself, particularly the "stop" method so I'll open an issue over there just in case. https://github.com/vanevery/p5.serialport/issues/11

vanevery avatar Oct 03 '15 20:10 vanevery