diff options
| author | Scott Shawcroft <scott@chickadee.tech> | 2017-07-12 14:59:26 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@chickadee.tech> | 2017-07-12 14:59:26 -0700 |
| commit | b69507fc64a0248db6d3e4afe7fb98d976f47f1d (patch) | |
| tree | 74a39ab3a61f31420e16b54ead7f9da62728a237 /shared-bindings/neopixel_write | |
| parent | 1e04e8ea1c3480906822f30549afd1a8e9e5cb45 (diff) | |
shared-bindings: Fix neopixel_write example. I forgot to save in the editor. Fixes #163
Diffstat (limited to 'shared-bindings/neopixel_write')
| -rw-r--r-- | shared-bindings/neopixel_write/__init__.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/neopixel_write/__init__.c b/shared-bindings/neopixel_write/__init__.c index b0322b19c..d6b578a4a 100644 --- a/shared-bindings/neopixel_write/__init__.c +++ b/shared-bindings/neopixel_write/__init__.c @@ -51,9 +51,9 @@ //| import digitalio //| //| pin = digitalio.DigitalInOut(board.NEOPIXEL) -//| pin.direction = digitalio.Direction.output +//| pin.direction = digitalio.Direction.OUTPUT //| pixel_off = bytearray([0, 0, 0]) -//| neopixel_write(pin, pixel_off) +//| neopixel_write.neopixel_write(pin, pixel_off) //| //| .. method:: neopixel_write.neopixel_write(digitalinout, buf) //| |
