Skip to content

No option to change baudrate in GUI #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Moosdijk opened this issue May 8, 2020 · 3 comments
Open

No option to change baudrate in GUI #22

Moosdijk opened this issue May 8, 2020 · 3 comments
Assignees

Comments

@Moosdijk
Copy link

Moosdijk commented May 8, 2020

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.

@vanevery
Copy link
Member

vanevery commented Dec 1, 2020

Adding this to the GUI would be great!

@Moosdijk
Copy link
Author

Moosdijk commented Dec 1, 2020

webSerial is becoming more and more promising, would an overhaul be an option?

@vanevery
Copy link
Member

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.

@vanevery vanevery self-assigned this Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants