motor test

This commit is contained in:
2021-03-04 15:06:52 +01:00
parent cafed2780a
commit eb32f05367
2 changed files with 6 additions and 2 deletions

View File

@ -53,7 +53,10 @@ class motor():
self.pwm4.start(0)
def stop(self):
self.pwm4.ChangeFrequency(self.freq)
self.pwm1.stop()
self.pwm2.stop()
self.pwm3.stop()
self.pwm4.stop()
def vorwaerts(self, schritte):
ges_schritte = schritte * 8