motor test

This commit is contained in:
Bernd Reuther 2021-03-04 14:37:22 +01:00
parent d85d38fb76
commit b7797e43e6

View File

@ -25,6 +25,10 @@ class motor():
self.freq = freq
self.freq_halten = freq_halten
self.cyc_halten = cyc_halten
self.pwm1 = 0
self.pwm2 = 0
self.pwm3 = 0
self.pwm4 = 0
def start(self):
GPIO.setup(self.sp1, GPIO.OUT)