motor test

This commit is contained in:
Bernd Reuther 2021-03-04 12:13:38 +01:00
parent 03f8e8e0bf
commit 910a4ea7ba

View File

@ -67,10 +67,10 @@ def action(changePin, action):
return render_template('main.html', **templateData)
@kamera_server.route("/motor1_test")
def main():
def motor_test():
m1.vorwaerts(10)
# Pass the template data into the template main.html and return it to the user
return "fertig"
return 'fertig'
if __name__ == "__main__":
kamera_server.run(host='0.0.0.0')