Skip to content

Commit f4bd20b

Browse files
committed
Add inofrmation about NeoPixels in neopixel_write module
1 parent ba4a253 commit f4bd20b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

shared-bindings/neopixel_write/__init__.c

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,19 @@ STATIC void check_for_deinit(digitalio_digitalinout_obj_t *self) {
9191
//| pin = digitalio.DigitalInOut(board.NEOPIXEL)
9292
//| pin.direction = digitalio.Direction.OUTPUT
9393
//| pixel_off = bytearray([0, 0, 0])
94-
//| neopixel_write.neopixel_write(pin, pixel_off)"""
94+
//| neopixel_write.neopixel_write(pin, pixel_off)
95+
//|
96+
//| .. note::
97+
//|
98+
//| This library is typically not used by user level code.
99+
//|
100+
//| For more information on actually using NeoPixels, refer to the CircuitPython
101+
//| Essentials Learn guide: https://learn.adafruit.com/circuitpython-essentials/circuitpython-neopixel
102+
//|
103+
//| For a much more thorough guide about using NeoPixels, refer to the Adadfruit NeoPixel Überguide:
104+
//| https://learn.adafruit.com/adafruit-neopixel-uberguide
105+
//|
106+
//| """
95107
//|
96108
//| def neopixel_write(digitalinout: digitalio.DigitalInOut, buf: ReadableBuffer) -> None:
97109
//| """Write buf out on the given DigitalInOut.

0 commit comments

Comments
 (0)