Cleaned up a few things before publishing

This commit is contained in:
= 2024-08-17 17:30:40 -04:00
parent 2ebfc20537
commit 69ca29e700
4 changed files with 4 additions and 13 deletions

View File

@ -7,18 +7,7 @@ from drawing import draw_cpu, draw_memory, draw_battery, draw_borders_left, draw
from monitors import CPUMonitor, MemoryMonitor, BatteryMonitor, DiskMonitor, NetworkMonitor, get_monitor_brightness
# External Dependencies
try:
# These are used in later scripts, but imported here to test if missing
import serial # pyserial
from serial.tools import list_ports
import numpy as np
except ImportError:
import pip
for dependency in ["numpy", "pyserial"]:
pip.main(['install', '--user', dependency])
import numpy as np
# print(sbc.get_brightness())
if __name__ == "__main__":

Binary file not shown.

3
run.bat Normal file
View File

@ -0,0 +1,3 @@
py -3 -m pip install pyserial numpy
py -3 led_system_monitor.py

View File

@ -1 +0,0 @@
py -3 led_system_monitor.py