Status der Schalter u. Relais geändert

This commit is contained in:
2021-10-17 07:32:38 +02:00
parent 736118a328
commit 64f93b1a76
2 changed files with 3 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ class motor():
def eichen(self):
if self.aktiv == 0:
if pi.read(self.endschalter) == 0:
self.__vorwaerts(10, 1)
self.__vorwaerts(8, 1)
self.__rueckwaerts(self.schritte_max, 1)
self.pos = 0