Commit 0bb42f6c authored by Felix Kettner's avatar Felix Kettner

Update background.py

parent 03a9d717
Pipeline #34326 passed with stage
in 40 seconds
......@@ -176,15 +176,17 @@ def gripper_test(lcd):
leds.set_led(c.LED_MID, c.GREEN)
message = ["",
"",
"open close"]
"open close"]
lcd.print(message)
end = False
while not end:
button = wait_for_any()
if button == c.BUTTON_LEFT:
nano.open_gripper()
break
elif button == c.BUTTON_RIGHT:
nano.close_gripper()
break
else:
end = True
nano.open_gripper()
......@@ -210,7 +212,7 @@ def c_sensor_test(lcd):
def led_test(lcd):
message = ["Testing",
"LED's!",
"LEDs!",
""]
lcd.print(message)
leds.init_leds()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment