- added bins

master
Steve Clement 2016-06-11 19:46:52 +02:00
parent 32870ce0bd
commit 9635bff312
4 changed files with 19 additions and 0 deletions

9
bin/lcd.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
while [ true ]; do
#/home/pi/Desktop/code/rpi-rgb-led-matrix/led-matrix -r 32 -c 3 -t 60 -D 1 /home/pi/Desktop/code/rpi-rgb-led-matrix/runtext.ppm
/home/pi/Desktop/code/rpi-rgb-led-matrix/led-matrix -r 32 -c 3 -t 60 -D 1 /home/pi/Desktop/code/rpi-rgb-led-matrix/runtext-s2c-l2.ppm
done
# iBeacon:
#ec8a1696-c5b7-11e4-8af8-2763c0b40601

BIN
bin/led-matrix Executable file

Binary file not shown.

BIN
bin/text-example Executable file

Binary file not shown.

10
bin/tm.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
SESSIONNAME="display"
tmux has-session -t $SESSIONNAME &> /dev/null
if [ $? != 0 ]
then
tmux new-session -s $SESSIONNAME -n main -d
tmux send-keys -t $SESSIONNAME "/usr/bin/sudo /home/pi/bin/lcd.sh" C-m
fi