From 90ebb13ea73541d58b181c2a427e75d9593e59a1 Mon Sep 17 00:00:00 2001 From: Morten Kals Date: Sun, 21 Apr 2019 16:01:58 -0700 Subject: [PATCH] Removed test file --- Arduino/temp.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Arduino/temp.py diff --git a/Arduino/temp.py b/Arduino/temp.py deleted file mode 100644 index ae20e1f..0000000 --- a/Arduino/temp.py +++ /dev/null @@ -1,25 +0,0 @@ - -from arduino import Arduino - -board = Arduino() - -#from Arduino import Arduino -#import time -# -#PORT_NAME = '/dev/tty.usbserial-1410' # MUST BE UPDATED TO USE THE CORRECT PORT -#PIN_SENSE = 12 # pin where ultrasic sensor is connected -# -## connect to Arduino -#board = Arduino(port=PORT_NAME) -#print('Connected') -# -#try: -# while True: -# # make distance measurement -# pulseTime = board.pulseIn_set(PIN_SENSE, 'HIGH') -# print(pulseTime) -# -# time.sleep(1) # delay to keep UART bus for getting overloaded -# -#except KeyboardInterrupt: -# board.close() # close serial connection \ No newline at end of file