motor test
This commit is contained in:
		@@ -20,7 +20,7 @@ GPIO.setup(20, GPIO.OUT)
 | 
				
			|||||||
m3_pwm4 = GPIO.PWM(20, freq)
 | 
					m3_pwm4 = GPIO.PWM(20, freq)
 | 
				
			||||||
m3_pwm4.start(0)
 | 
					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)
 | 
					m2 = motor('kippen', m2_a1, m2_b1, m2_a2, m2_b2, m2_t1, m2_t2, m2_te, m2_es, 1, 90)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
m1.start()
 | 
					m1.start()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user