server test
This commit is contained in:
parent
f2e9ce00ef
commit
e1b7352d91
@ -85,13 +85,11 @@ def action(changePin, action):
|
||||
def motor_test(motor, position):
|
||||
if motor == "drehen":
|
||||
m1.stop()
|
||||
time.sleep(1)
|
||||
m1.start()
|
||||
time.sleep(1)
|
||||
m1.gehe_zu(int(position))
|
||||
|
||||
return 'Drehen: ' + str(m1.pos)
|
||||
|
||||
#if __name__ == "__main__":
|
||||
# kamera_server.run(host='0.0.0.0')
|
||||
application = kamera_server
|
||||
if __name__ == "__main__":
|
||||
kamera_server.run(host='0.0.0.0')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user