Reproduced in v0.24.
For quite some Arduino boards (incl. DevKit), to display serial monitor information correctly, you have to set the Baud Rate to 115200. By default, the extension is set to 9600, which is much rare cases. Suggest to set the default Baud Rate to 115200 to reduce an error prone step.
increase the priority for this.
I am not so happy with this change.
By default, the extension is set to
9600, which is much rare cases.
@liydu based on what do you make this conclusion? Every Arduino developer I have seen uses 9600. The Arduino documentation uses that value as well.
Can I set the baud rate in my .vscode/arduino.json file? Every now and then it gets reset to 115200 which is slowly becoming very frustrating.
You can set the default baud rate in out/src/serialmonitor/serialMonitor.js. At the end there are some variables incluiding SerialMonitor.DEFAULT_BAUD_RATE.
The out folder is in the arduino extension folder.
It would be great to override the setting in public arduino.json instead of changing default value in JS source file. Mainly because builtin-in Arduino examples use another baud rate (9600) than VScode extension by default.
Most helpful comment
It would be great to override the setting in public
arduino.jsoninstead of changing default value in JS source file. Mainly because builtin-in Arduino examples use another baud rate (9600) than VScode extension by default.