From b69507fc64a0248db6d3e4afe7fb98d976f47f1d Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Wed, 12 Jul 2017 14:59:26 -0700 Subject: [PATCH] shared-bindings: Fix neopixel_write example. I forgot to save in the editor. Fixes #163 --- shared-bindings/neopixel_write/__init__.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared-bindings/neopixel_write/__init__.c b/shared-bindings/neopixel_write/__init__.c index b0322b19c1..d6b578a4a8 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) //|