diff --git a/drawing.py b/drawing.py index f116202..946e995 100644 --- a/drawing.py +++ b/drawing.py @@ -8,7 +8,7 @@ from commands import Commands, send_command # External Dependencies import numpy as np -import serial # pyserial +import serial # pip install pyserial, apt install python3-serial from serial.tools import list_ports diff --git a/install_as_service.sh b/install_as_service.sh index 09aab1a..eb5496a 100644 --- a/install_as_service.sh +++ b/install_as_service.sh @@ -1,3 +1,4 @@ +sudo apt install python3-serial chmod +x run.sh rm -f fwledmonitor.service || true cat <>./fwledmonitor.service diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..06b9745 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +pyserial +numpy +wmi # only for windows \ No newline at end of file