Skip to content

Commit c5a6920

Browse files
committed
mod: demo blink on example exit
1 parent 02f4cfc commit c5a6920

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/demo/demo.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def update_led_status(val):
4242
elif menu_status == -1:
4343
if run_touch_move(alvik) < 0:
4444
break
45+
alvik.left_led.set_color(0, 0, 0)
46+
alvik.right_led.set_color(0, 0, 0)
47+
sleep_ms(500)
4548
alvik.brake()
4649

4750
if alvik.get_touch_up() and menu_status < 1:

0 commit comments

Comments
 (0)