motor test

This commit is contained in:
Bernd Reuther 2021-03-04 14:01:13 +01:00
parent 59652c16b5
commit 3d260c72a7

View File

@ -18,6 +18,8 @@ GPIO.output(pins_out['kamera']['nr'], GPIO.HIGH)
m1 = motor('drehen', m1_a1, m1_b1, m1_a2, m1_b2, m1_t1, m1_t2, m1_te, m1_es, 0, 180)
m2 = motor('kippen', m2_a1, m2_b1, m2_a2, m2_b2, m2_t1, m2_t2, m2_te, m2_es, 1, 90)
print(dir(m2))
#m1.schritte_max = 180
#m2.schritte_max = 90