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 a91592df52
commit cc0cf717da

View File

@ -51,9 +51,9 @@
//| import digitalio //| import digitalio
//| //|
//| pin = digitalio.DigitalInOut(board.NEOPIXEL) //| pin = digitalio.DigitalInOut(board.NEOPIXEL)
//| pin.direction = digitalio.Direction.output //| pin.direction = digitalio.Direction.OUTPUT
//| pixel_off = bytearray([0, 0, 0]) //| 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) //| .. method:: neopixel_write.neopixel_write(digitalinout, buf)
//| //|