Allow left, center, and right alignment of text

This commit is contained in:
2024-01-09 22:48:47 -05:00
parent 6516c40862
commit 5884b37d5a
5 changed files with 50 additions and 18 deletions
+11 -2
View File
@@ -1,8 +1,17 @@
.PHONY: setup run build install
setup:
cd go-rpi-rgb-led-matrix/lib/rpi-rgb-led-matrix && make
run:
rundev:
sudo go run cmd/rpi/main.go --led-slowdown-gpio=2 --led-pwm-dither-bits=1
build:
go build cmd/rpi/main.go
go build -o blockyclock cmd/rpi/main.go
install:
$(MAKE) setup && \
$(MAKE) build && \
sudo mv blockyclock /usr/bin && \
sudo cp blockyclock.service /lib/systemd/system/ && \
sudo systemctl enable --now blockyclock.service