Added led test mode

This commit is contained in:
artem30801@gmail.com
2019-03-28 18:33:37 +03:00
parent 88974e5174
commit 690fd4a1e3

View File

@@ -305,6 +305,10 @@ try:
play_animation.land()
elif command == 'disarm':
FlightLib.arming(False)
elif command == 'led_test':
LedLib.fill(255, 255, 255)
time.sleep(2)
LedLib.off()
elif command == 'request':
request_target = args['value']