Skip to content

Commit

Permalink
chore: sync run.sh with version on device (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoesbergen authored Dec 2, 2023
1 parent 6024056 commit 51a1f0f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
set -x
python3 index.py $@ | ./ledcat --geometry 96x32 rpi-led-matrix --led-cols 32 --led-rows 16 --led-chain 3 --led-parallel 2 --led-pwm-bits 8 --led-pwm-lsb-nanoseconds 500 --led-scan-mode progressive
export PYTHONUNBUFFERED=1
if [[ ! -f pipe ]]; then
mkfifo pipe
fi

python3 index.py $@ > pipe &
./ledcat --input pipe --geometry 96x32 rpi-led-matrix --led-cols 32 --led-rows 16 --led-chain 3 --led-parallel 2 --led-pwm-bits 8 --led-pwm-lsb-nanoseconds 500 --led-scan-mode progressive

0 comments on commit 51a1f0f

Please sign in to comment.