shared-bindings: Fix neopixel_write example. I forgot to save in the editor. Fixes #163

This commit is contained in:
Scott Shawcroft 2017-07-12 14:59:26 -07:00
parent 1e04e8ea1c
commit b69507fc64
1 changed files with 2 additions and 2 deletions

View File

@ -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)
//|