motor test

This commit is contained in:
Bernd Reuther 2021-03-04 15:56:42 +01:00
parent 1d9d50d853
commit c6d07ea915

View File

@ -81,7 +81,7 @@ def action(changePin, action):
return render_template('main.html', **templateData) return render_template('main.html', **templateData)
@kamera_server.route("/<motor>/<position>") @kamera_server.route("/position/<motor>/<position>")
def motor_test(motor, position): def motor_test(motor, position):
if motor == "drehen": if motor == "drehen":
m1.stop() m1.stop()