Skip to main content

Commands and Keybindings

Serial Commands

Key

Command sent

Description

1

speed <erpm>

Sets motor speed to current erpm value

2

stop

Sends stop command

3

profile <erpm> <max_accel> <time_ms>

Sends full motion profile

b

(PIO subprocess)

Runs

pio run -t <target> -e <env>

in background

q

(none)

Quits the TUI and closes the serial port

Parameter Edit Keys

Key

Field

Validation

e

erpm

Must be integer (negative allowed)

a

accel

Must be integer (negative allowed)

t

time_ms

Must be integer (negative allowed)

p

pio target

Any non-empty string

n

pio env

Any non-empty string

Edit Mode Behaviour

Pressing an edit key switches the status bar to an edit prompt and opens an inline text field on the parameter row. Enter confirms; ESC restores the previous value. Invalid integer inputs are rejected and logged to the TX log with a !! prefix — the parameter retains its prior value.

PIO Build

Pressing b spawns a background thread running:

pio run -t <pio_target> -e <pio_env>

Output streams line-by-line into the INCOMING panel. [INFO] PIO: done (exit 0) appears on success. [ERROR] PIO: 'pio' not found in PATH appears if PlatformIO is not installed.

--- Page 4 — Usage

Output streams line-by-line into the INCOMING panel. [INFO] PIO: done (exit 0) appears on success. [ERROR] PIO: 'pio' not found in PATH appears if PlatformIO is not installed.