From c48da832e072a274bac3da9e81f6d0460dcacf22 Mon Sep 17 00:00:00 2001 From: d3m1g0d Date: Thu, 30 May 2019 17:52:27 +0200 Subject: [PATCH] removed old main app --- main.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 main.py diff --git a/main.py b/main.py deleted file mode 100644 index e8f63e6..0000000 --- a/main.py +++ /dev/null @@ -1,21 +0,0 @@ -# main.py - the main program file of the TeraHz project -# All code in this file is licensed under the ISC license, provided in LICENSE.txt -import serial as ser - -#global config -# TODO: move this to another file -uartpath = '/dev/ttyUSB0' -uartbaud = 115200 -uarttout = 5 - -print('TeraHz project') -print('Accessing the serial port') - -sp = 'blank' - -try: - sp = ser.Serial(uartpath, uartbaud, timeout=uarttout) -except Exception as e: - print('Connection to serial port at {} failed!'.format(uartpath)) - raise e - exit()