Примеры и документация
This commit is contained in:
28
taskfile.yml
28
taskfile.yml
@@ -18,8 +18,8 @@ tasks:
|
||||
- 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: "1500"
|
||||
VFD_BRIGHTNESS: "2"
|
||||
VFD_END_PAUSE_MS: "1000"
|
||||
VFD_BRIGHTNESS: "3"
|
||||
|
||||
vfd:brightness:
|
||||
desc: Run VFD brightness example
|
||||
@@ -27,3 +27,27 @@ tasks:
|
||||
- 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"
|
||||
|
||||
Reference in New Issue
Block a user