Skip to content

Commit b0c25a5

Browse files
committed
Inky 7.3: Add LEDs to Python module.
1 parent 776383c commit b0c25a5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

micropython/modules_py/inky_frame.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
LED_D = 14
1515
LED_E = 15
1616

17+
LED_BUSY = 6
18+
LED_WIFI = 7
19+
1720
SHIFT_STATE = get_shift_state()
1821

1922
reset_shift_state()
@@ -66,3 +69,6 @@ def is_pressed(self):
6669
button_c = Button(sr, 5, LED_C)
6770
button_d = Button(sr, 4, LED_D)
6871
button_e = Button(sr, 3, LED_E)
72+
73+
led_busy = Pin(LED_BUSY, Pin.OUT)
74+
led_wifi = Pin(LED_WIFI, Pin.OUT)

0 commit comments

Comments
 (0)