Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy