From caa2d9c446f5901671d30e52b1aaa4c56ef2f25c Mon Sep 17 00:00:00 2001 From: Raspberry Pi Date: Wed, 20 Nov 2019 01:22:22 -0600 Subject: Rework directory structure. Modify result file printing to match requirements of web server. --- System_Python/test_Encoder.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 System_Python/test_Encoder.py (limited to 'System_Python/test_Encoder.py') diff --git a/System_Python/test_Encoder.py b/System_Python/test_Encoder.py deleted file mode 100644 index b667cc1..0000000 --- a/System_Python/test_Encoder.py +++ /dev/null @@ -1,14 +0,0 @@ -from encoder import Encoder -import time - -# Decide which pins to hook up to on the Pi before running -clk_pin = 2 -cs_pin = 4 -data_pin = 3 - -e = Encoder(clk_pin, cs_pin, data_pin) -e.set_zero() - -while(1): - print(e.read_position('Degrees')) - time.sleep(0.001) \ No newline at end of file -- cgit v1.2.3