motor test
This commit is contained in:
		@@ -26,8 +26,6 @@ m2 = motor('kippen', m2_a1, m2_b1, m2_a2, m2_b2, m2_t1, m2_t2, m2_te, m2_es, 1,
 | 
			
		||||
m1.start()
 | 
			
		||||
m2.start()
 | 
			
		||||
 | 
			
		||||
time.sleep(5)
 | 
			
		||||
 | 
			
		||||
m1.vorwaerts(10)
 | 
			
		||||
#m1.stop()
 | 
			
		||||
#m2.stop()
 | 
			
		||||
@@ -89,8 +87,9 @@ def action(changePin, action):
 | 
			
		||||
@kamera_server.route("/motor1_test")
 | 
			
		||||
def motor_test():
 | 
			
		||||
    #m2.pwm4.ChangeFrequency(freq_halten)
 | 
			
		||||
    m1.start()
 | 
			
		||||
    m1.vorwaerts(10)
 | 
			
		||||
    time.sleep(5)
 | 
			
		||||
    
 | 
			
		||||
    #print('Motortest')
 | 
			
		||||
    # Pass the template data into the template main.html and return it to the user
 | 
			
		||||
    return 'fertig'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user