added run script

This commit is contained in:
Sean Corrigan 2020-12-20 22:28:28 +00:00
parent 51a3cae4f3
commit a283ef24ad
8 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
LoveBOXAPIurl = 'http://192.168.0.188:5000' LoveBOXAPIurl = 'http://yoo01pn.ddns.net:5000'
LoveBOXAPIapi = '101010' LoveBOXAPIapi = '101010'
from display import sendUpdate from display import sendUpdate
@ -50,4 +50,4 @@ if __name__ == "__main__":
for i in range(1,10): for i in range(1,10):
print(i) print(i)
sleep(1) sleep(1)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
epd2in13.pyc Normal file

Binary file not shown.

BIN
epdconfig.pyc Normal file

Binary file not shown.

7
runcontrol.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
screen -d -dmS controller
screen -S controller -X stuff 'bash'`echo -ne '\015'`
screen -S controller -X stuff 'cd /home/pi/python-hat-e-ink-demo-code/'`echo -ne '\015'`
screen -S controller -X stuff 'python3 PIcontroller.py'`echo -ne '\015'`

BIN
wqy-microhei.ttc Normal file

Binary file not shown.