motor test

This commit is contained in:
Bernd Reuther 2021-03-04 16:09:32 +01:00
parent 0661727904
commit c926071622

View File

@ -20,7 +20,7 @@ GPIO.setup(20, GPIO.OUT)
m3_pwm4 = GPIO.PWM(20, freq)
m3_pwm4.start(0)
m1 = motor('drehen', m1_a1, m1_b1, m1_a2, m1_b2, m1_t1, m1_t2, m1_te, m1_es, 0, 180)
m1 = motor('drehen', m1_a1, m1_b1, m1_a2, m1_b2, m1_t1, m1_t2, m1_te, m1_es, 1, 180)
m2 = motor('kippen', m2_a1, m2_b1, m2_a2, m2_b2, m2_t1, m2_t2, m2_te, m2_es, 1, 90)
m1.start()