diff --git a/PIcontroller.py b/PIcontroller.py index 33e3807..eae93f7 100644 --- a/PIcontroller.py +++ b/PIcontroller.py @@ -1,4 +1,4 @@ -LoveBOXAPIurl = 'http://192.168.0.188:5000' +LoveBOXAPIurl = 'http://yoo01pn.ddns.net:5000' LoveBOXAPIapi = '101010' from display import sendUpdate @@ -50,4 +50,4 @@ if __name__ == "__main__": for i in range(1,10): print(i) sleep(1) - \ No newline at end of file + diff --git a/__pycache__/display.cpython-37.pyc b/__pycache__/display.cpython-37.pyc new file mode 100644 index 0000000..06a1f4e Binary files /dev/null and b/__pycache__/display.cpython-37.pyc differ diff --git a/__pycache__/epd2in13.cpython-37.pyc b/__pycache__/epd2in13.cpython-37.pyc new file mode 100644 index 0000000..667260e Binary files /dev/null and b/__pycache__/epd2in13.cpython-37.pyc differ diff --git a/__pycache__/epdconfig.cpython-37.pyc b/__pycache__/epdconfig.cpython-37.pyc new file mode 100644 index 0000000..4f01865 Binary files /dev/null and b/__pycache__/epdconfig.cpython-37.pyc differ diff --git a/epd2in13.pyc b/epd2in13.pyc new file mode 100644 index 0000000..f6cc239 Binary files /dev/null and b/epd2in13.pyc differ diff --git a/epdconfig.pyc b/epdconfig.pyc new file mode 100644 index 0000000..9f575d2 Binary files /dev/null and b/epdconfig.pyc differ diff --git a/runcontrol.sh b/runcontrol.sh new file mode 100755 index 0000000..fe369bb --- /dev/null +++ b/runcontrol.sh @@ -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'` diff --git a/wqy-microhei.ttc b/wqy-microhei.ttc new file mode 100644 index 0000000..2c9bc2d Binary files /dev/null and b/wqy-microhei.ttc differ