micropython-ctl icon indicating copy to clipboard operation
micropython-ctl copied to clipboard

Different baudRate support?

Open BrightLin opened this issue 3 years ago • 0 comments

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 })

BrightLin avatar May 19 '22 09:05 BrightLin