Add inofrmation about NeoPixels in neopixel_write module
This commit is contained in:
parent
ba4a253e77
commit
f4bd20b5e8
|
@ -91,7 +91,19 @@ STATIC void check_for_deinit(digitalio_digitalinout_obj_t *self) {
|
|||
//| pin = digitalio.DigitalInOut(board.NEOPIXEL)
|
||||
//| pin.direction = digitalio.Direction.OUTPUT
|
||||
//| pixel_off = bytearray([0, 0, 0])
|
||||
//| neopixel_write.neopixel_write(pin, pixel_off)"""
|
||||
//| neopixel_write.neopixel_write(pin, pixel_off)
|
||||
//|
|
||||
//| .. note::
|
||||
//|
|
||||
//| This library is typically not used by user level code.
|
||||
//|
|
||||
//| For more information on actually using NeoPixels, refer to the CircuitPython
|
||||
//| Essentials Learn guide: https://learn.adafruit.com/circuitpython-essentials/circuitpython-neopixel
|
||||
//|
|
||||
//| For a much more thorough guide about using NeoPixels, refer to the Adadfruit NeoPixel Überguide:
|
||||
//| https://learn.adafruit.com/adafruit-neopixel-uberguide
|
||||
//|
|
||||
//| """
|
||||
//|
|
||||
//| def neopixel_write(digitalinout: digitalio.DigitalInOut, buf: ReadableBuffer) -> None:
|
||||
//| """Write buf out on the given DigitalInOut.
|
||||
|
|
Loading…
Reference in New Issue