Skip to content
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

Set default Baud Rate #616

Closed
a-phe-lei-a opened this issue Jul 23, 2018 · 5 comments
Closed

Set default Baud Rate #616

a-phe-lei-a opened this issue Jul 23, 2018 · 5 comments

Comments

@a-phe-lei-a
Copy link

Hello,

I read the README but I don't find how to change the default Baud Rate. My default Baud is 115200 and I want to have 9600. The only solution when I find, is to change this in serialMonitor.js... (#395)

Is there any other solution?

@Sneezry
Copy link
Member

Sneezry commented Jul 25, 2018

Done.

@Sneezry Sneezry closed this as completed Jul 25, 2018
@Sneezry Sneezry reopened this Jul 25, 2018
@czgtest
Copy link
Contributor

czgtest commented Aug 17, 2018

this feature is enable in latest version 0.2.20, please set the default band rate in vscode user settings.

"arduino.defaultBaudRate": 115200

@czgtest czgtest closed this as completed Aug 17, 2018
@etekweb
Copy link

etekweb commented Aug 10, 2023

This issue has re-emerged. All of the code related to this PR was removed in v0.5.0 (this commit was when it was removed from the documentation). However, the Serial Monitor baud rate is still changing automatically to 115200 every time the Arduino is flashed with the latest version (0.6.0).

Is there a new way to fix this?

@yenmangu
Copy link

This issue has re-emerged. All of the code related to this PR was removed in v0.5.0 (this commit was when it was removed from the documentation). However, the Serial Monitor baud rate is still changing automatically to 115200 every time the Arduino is flashed with the latest version (0.6.0).

Is there a new way to fix this?

Why were they removed? I would like to see this being re added in, I would hate to move BACK to platformIO because of this

@Ares9323
Copy link

Workaround:
in your user folder, open .vscode\extensions\vsciot-vscode.vscode-arduino-0.6.0-win32-x64\out\src\serialmonitor\serialMonitor.js

and change line 22 to:
this.lastSelectedBaudRate = 9600; // Same default as Arduino.

Will probably need to redo this when they'll update the extension but it's better than setting the baud rate after every upload 😅

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

6 participants