diff --git a/src/schrittmotor.py b/src/schrittmotor.py index ab52bc2..1a5e646 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -5,6 +5,8 @@ import pigpio import threading import math +pi = pigpio.pi() + #GPIO.setmode(GPIO.BCM) #GPIO.setwarnings(False)