shared-bindings: Fix neopixel_write example. I forgot to save in the editor. Fixes #163
This commit is contained in:
parent
a91592df52
commit
cc0cf717da
@ -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)
|
||||||
//|
|
//|
|
||||||
|
Loading…
Reference in New Issue
Block a user