8000 shared-bindings: Fix neopixel_write example. I forgot to save in the … · sparkfun/circuitpython@cc0cf71 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit cc0cf71

Browse files
committed
shared-bindings: Fix neopixel_write example. I forgot to save in the editor. Fixes adafruit#163
1 parent a91592d commit cc0cf71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/neopixel_write/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
//| import digitalio
5252
//|
5353
//| pin = digitalio.DigitalInOut(board.NEOPIXEL)
54-
//| pin.direction = digitalio.Direction.output
54+
//| pin.direction = digitalio.Direction.OUTPUT
5555
//| pixel_off = bytearray([0, 0, 0])
56-
//| neopixel_write(pin, pixel_off)
56+
//| neopixel_write.neopixel_write(pin, pixel_off)
5757
//|
5858
//| .. method:: neopixel_write.neopixel_write(digitalinout, buf)
5959
//|

0 commit comments

Comments
 (0)
0