Skip to content

Different baudRate support? #18

Description

@BrightLin

The serialport baudRate is '115200' in main.ts. But my board firmware use '1000000'. Can micropython-ctl support custom baudRate?

// main.ts
public async connectSerial(path: string) {
    // ...
    this.state.port = new SerialPort(path, { baudRate: 115200 })

like

public async connectSerial(path: string, serialConfigs: any) {
    // ...
    this.state.port = new SerialPort(path, serialConfigs || { baudRate: 115200 })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions