diff --git a/Makefile b/Makefile index 8b13789..88b7d76 100644 --- a/Makefile +++ b/Makefile @@ -1 +1,9 @@ +setup: + cd go-rpi-rgb-led-matrix/lib/rpi-rgb-led-matrix + make +run: + sudo go run cmd/rpi/main.go --led-slowdown-gpio=2 + +build: + go build cmd/rpi/main.go diff --git a/display/slot.go b/display/slot.go index e9ebf21..adcfe6a 100644 --- a/display/slot.go +++ b/display/slot.go @@ -66,6 +66,8 @@ func (s *Slot) Update(text []Segment) error { font = fonts.Face5x4 case 7: font = fonts.Face7x5 + case 9: + font = fonts.Face9x6 default: return fmt.Errorf("%w: %d", ErrUnsupportedSlotHeight, s.segmentHeight) }