init
This commit is contained in:
29
taskfile.yml
Normal file
29
taskfile.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
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: "1500"
|
||||
VFD_BRIGHTNESS: "2"
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user