aboutsummaryrefslogtreecommitdiffstats
path: root/System/test_Encoder.py
diff options
context:
space:
mode:
Diffstat (limited to 'System/test_Encoder.py')
-rw-r--r--[-rwxr-xr-x]System/test_Encoder.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/System/test_Encoder.py b/System/test_Encoder.py
index d0b7ef8..bb6e3e4 100755..100644
--- a/System/test_Encoder.py
+++ b/System/test_Encoder.py
@@ -3,9 +3,9 @@ import time
import RPi.GPIO as GPIO
# Decide which pins to hook up to on the Pi before running
-clk_pin = 2
-cs_pin = 4
-data_pin = 3
+clk_pin = 3
+cs_pin = 23
+data_pin = 2
e = Encoder(clk_pin, cs_pin, data_pin)
e.set_zero()
@@ -19,3 +19,5 @@ except:
finally:
# Perform GPIO cleanup. Things may get weird otherwise...
GPIO.cleanup()
+
+