From e84896f12ed75b6ce691abeacfc8ee2c85b9ed34 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sun, 10 Apr 2022 17:57:18 +0200 Subject: [PATCH] Remove unused script --- Firmware/enableReset.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 Firmware/enableReset.py diff --git a/Firmware/enableReset.py b/Firmware/enableReset.py deleted file mode 100644 index bcd7bd2..0000000 --- a/Firmware/enableReset.py +++ /dev/null @@ -1,24 +0,0 @@ -import serial -import time -import sys - -class bcolors: - HEADER = '\033[95m' - OKBLUE = '\033[94m' - OKCYAN = '\033[96m' - OKGREEN = '\033[92m' - WARNING = '\033[93m' - FAIL = '\033[91m' - ENDC = '\033[0m' - BOLD = '\033[1m' - UNDERLINE = '\033[4m' - -if len(sys.argv) == 1: - print(f"{bcolors.FAIL}Please enter COM Port as argument{bcolors.ENDC}") - -else: - ser = serial.Serial(sys.argv[1]) - ser.write(b'r') - ser.close() - print(f"{bcolors.OKGREEN}Reset enabled{bcolors.ENDC}") - time.sleep(1)