Code Monkey home page Code Monkey logo

Comments (10)

ArtiomLK avatar ArtiomLK commented on June 12, 2024 3

In the file platformio.ini add:
monitor_speed = baudRate
For example:
monitor_speed = 115200

from vscode-iot-utility.

JohnDoeKyrgyz avatar JohnDoeKyrgyz commented on June 12, 2024 2

Ideally it would be possible to have one baud rate setting for the entire workspace that would be the default, and then the ability to override it for each device.

Realistically though, just being able to change the baud rate in File > Preferences > Settings would probably be good enough.

from vscode-iot-utility.

formulahendry avatar formulahendry commented on June 12, 2024

Hi @JohnDoeKyrgyz , currently, there is no direct way to change the baud rate, it is always 9600 for now. I plan to add a config entry in File > Preferences -> Settings, so that users could change the baud rate there. What's your opinion? Or, will you change the baud rate frequently and want this extension to provide a UI (e.g. in Status Bar at the bottom) to change the baud rate?

from vscode-iot-utility.

JohnDoeKyrgyz avatar JohnDoeKyrgyz commented on June 12, 2024

I think the File > Preferences > Settings entry is a good idea. In many examples I see people using 115200 as the default baud rate for serial communication.

Would it also be possible to configure this on a per device basis? Maybe a custom setting in the platformio.ini file?

from vscode-iot-utility.

formulahendry avatar formulahendry commented on June 12, 2024

per device basis

Do you mean:

  • baud rate would be different per workspace?
  • Or, baud rate would be different per device but in the same workspace? i.e. there are several devices in the same platformio.ini but have different baud rate

from vscode-iot-utility.

formulahendry avatar formulahendry commented on June 12, 2024

Thanks for your feedback! That makes complete sense. Realistically, I will add a config entry in File > Preferences -> Settings, so that user could set baud rate in the overall User Settings as well as in each Workspace Settings.

from vscode-iot-utility.

formulahendry avatar formulahendry commented on June 12, 2024

Hi @JohnDoeKyrgyz , a config entry platformio.baudRate is added, please install the latest version and have a try. Let me know if you have any other feedback.

from vscode-iot-utility.

JohnDoeKyrgyz avatar JohnDoeKyrgyz commented on June 12, 2024

Thanks! This will be useful. Looks good to me.

from vscode-iot-utility.

egur avatar egur commented on June 12, 2024

Hi,

I would like to use a BaudRate > 921600 bps.
How can it be done ?
I would like to set the BaudRate to be larger than 3 MB

Please advise.

from vscode-iot-utility.

formulahendry avatar formulahendry commented on June 12, 2024

@egur Does updating platformio.baudRate work for you?

from vscode-iot-utility.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.