Update 'main.go'
build lightwatch / build (push) Successful in 8m20s Details

pull/3/head
nathan 1 year ago
parent b02f5a7293
commit 3c212a5186

@ -45,10 +45,10 @@ type Animation struct {
//flags from cmd line
var (
rows = flag.Int("led-rows", 32, "number of rows supported")
cols = flag.Int("led-cols", 32, "number of columns supported")
rows = flag.Int("led-rows", 64, "number of rows supported")
cols = flag.Int("led-cols", 64, "number of columns supported")
parallel = flag.Int("led-parallel", 1, "number of daisy-chained panels")
chain = flag.Int("led-chain", 2, "number of displays daisy-chained")
chain = flag.Int("led-chain", 1, "number of displays daisy-chained")
brightness = flag.Int("brightness", 100, "brightness (0-100)")
hardware_mapping = flag.String("led-gpio-mapping", "regular", "Name of GPIO mapping used.")
show_refresh = flag.Bool("led-show-refresh", false, "Show refresh rate.")

Loading…
Cancel
Save