Skip to content

Commit 1973efc

Browse files
authored
Clean up more
1 parent 122f82a commit 1973efc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

demos/bluedot/simple_grid.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
arm = usb_arm.Arm()
66

7+
78
def led_pressed(pos):
89
arm.tell(usb_arm.LedOn)
910

@@ -46,10 +47,11 @@ def base_pressed(pos):
4647
if pos.right:
4748
arm.tell(usb_arm.BaseClockWise)
4849

50+
4951
bd = BlueDot(cols=3, rows=2)
5052
led = bd[1, 0]
5153

5254
bd.when_released = stop
5355
led.when_pressed = led_pressed
5456
bd.when_client_disconnects = stop
55-
pause()
57+
pause()

0 commit comments

Comments
 (0)