From 8f3ec4c34f59c4e6c1563b9efba11c4cbfa9bce2 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 19 Oct 2023 22:41:21 +0000 Subject: [PATCH] Update 'main.go' --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 48cd4da..3a78d6b 100644 --- a/main.go +++ b/main.go @@ -48,7 +48,7 @@ var ( 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", 1, "number of displays daisy-chained") + chain = flag.Int("led-chain", 2, "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.") @@ -75,7 +75,7 @@ func listener(mqMessages chan mqtt.Message) { //animator is a wrapping function for go routine that can receive an mq channel func animator(tk *rgbmatrix.ToolKit, mqMessages chan mqtt.Message) { //Playanimation comes from the toolkit, all it takes is an animation struct - tk.PlayAnimation(NewAnimation(image.Point{64, 64}, mqMessages)) + tk.PlayAnimation(NewAnimation(image.Point{128, 64}, mqMessages)) }