54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
version: "3"
|
|
|
|
vars:
|
|
VFD_PORT: /dev/cu.usbmodem101
|
|
VFD_WIDTH: "20"
|
|
|
|
tasks:
|
|
vfd:clock:
|
|
desc: Run VFD clock example
|
|
cmds:
|
|
- cargo run --example clock -- {{.VFD_PORT}} {{.VFD_WIDTH}} {{.VFD_CPS | default "8"}}
|
|
vars:
|
|
VFD_CPS: "8"
|
|
|
|
vfd:marquee:
|
|
desc: Run VFD marquee example
|
|
cmds:
|
|
- cargo run --example marquee -- {{.VFD_PORT}} {{.VFD_WIDTH}} {{.VFD_CPS | default "8"}} {{.VFD_END_PAUSE_MS | default "1500"}} {{.VFD_BRIGHTNESS | default "2"}}
|
|
vars:
|
|
VFD_CPS: "8"
|
|
VFD_END_PAUSE_MS: "1000"
|
|
VFD_BRIGHTNESS: "3"
|
|
|
|
vfd:brightness:
|
|
desc: Run VFD brightness example
|
|
cmds:
|
|
- cargo run --example brightness -- {{.VFD_PORT}} {{.VFD_WIDTH}} {{.VFD_DELAY_MS | default "800"}}
|
|
vars:
|
|
VFD_DELAY_MS: "800"
|
|
|
|
vfd:position:
|
|
desc: Run VFD print_at position demo
|
|
cmds:
|
|
- cargo run --example position -- {{.VFD_PORT}} {{.VFD_WIDTH}} {{.VFD_DELAY_MS | default "80"}}
|
|
vars:
|
|
VFD_DELAY_MS: "80"
|
|
|
|
vfd:update_at:
|
|
desc: Run VFD partial updates demo (print_at)
|
|
cmds:
|
|
- cargo run --example update_at -- {{.VFD_PORT}} {{.VFD_WIDTH}} {{.VFD_DELAY_MS | default "200"}}
|
|
vars:
|
|
VFD_DELAY_MS: "200"
|
|
|
|
vfd:blink:
|
|
desc: Run VFD blink demo (print_at)
|
|
cmds:
|
|
- cargo run --example blink -- {{.VFD_PORT}} {{.VFD_WIDTH}} {{.VFD_DELAY_MS | default "400"}} {{.VFD_X | default "1"}} {{.VFD_Y | default "2"}} {{.VFD_TEXT | default "BLINK"}}
|
|
vars:
|
|
VFD_DELAY_MS: "400"
|
|
VFD_X: "1"
|
|
VFD_Y: "2"
|
|
VFD_TEXT: "BLINK"
|