Skip to content

Commit 9e1e19e

Browse files
committed
Fix RGB value.
1 parent a02bb6e commit 9e1e19e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CircuitPython_Templates/digital_input_one_neopixel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
if not button.value:
2222
pixel.fill((255, 0, 0))
2323
else:
24-
pixel.fill(0)
24+
pixel.fill((0, 0, 0))

QT_Py_RP2040/digital_input_neopixel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
if not button.value:
1313
pixel.fill((255, 0, 0))
1414
else:
15-
pixel.fill(0)
15+
pixel.fill((0, 0, 0))

0 commit comments

Comments
 (0)