diff --git a/src/schrittmotor.py b/src/schrittmotor.py index 86df193..7b80430 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -7,7 +7,7 @@ import math GPIO.setmode(GPIO.BCM) #GPIO.setwarnings(False) -class motor: +class motor(GPIO): pos = 0 freq = freq