Open Moosdijk opened 4 years ago
Adding this to the GUI would be great!
webSerial is becoming more and more promising, would an overhaul be an option?
I think the Web Serial API is a great way to go! I am not sure that we'll need a lot of what p5-serial does once it is widely available in the browsers.
Hi all,
It seems the GUI only works with a baudrate of 9600. Can a selector be added to change the baudrate?
Thanks!
Edit: I found out how to change the baudrate, which is hardcoded. Granted I'm on a mac, here's what you do:
-Go to your applications folder and look for p5.serialcontrol.app -Right click, show package contents -Navigate to /Contents/Resources/app/node_modules/@serialport/stream -Open stream.js with a text exitor of your choice -Change the baudrate from 9600 to one of your choice (I chose 115200). -Save and close -Open p5.serialcontrol as usual -Of course, your arduino or similar should also communicate at the baudrate that you set.