motor test
This commit is contained in:
		@@ -67,10 +67,10 @@ def action(changePin, action):
 | 
				
			|||||||
    return render_template('main.html', **templateData)
 | 
					    return render_template('main.html', **templateData)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@kamera_server.route("/motor1_test")
 | 
					@kamera_server.route("/motor1_test")
 | 
				
			||||||
def main():
 | 
					def motor_test():
 | 
				
			||||||
    m1.vorwaerts(10)
 | 
					    m1.vorwaerts(10)
 | 
				
			||||||
    # Pass the template data into the template main.html and return it to the user
 | 
					    # Pass the template data into the template main.html and return it to the user
 | 
				
			||||||
    return "fertig"
 | 
					    return 'fertig'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if __name__ == "__main__":
 | 
					if __name__ == "__main__":
 | 
				
			||||||
    kamera_server.run(host='0.0.0.0')
 | 
					    kamera_server.run(host='0.0.0.0')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user