diff options
author | Damien George <damien@micropython.org> | 2022-02-02 16:27:10 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-02-02 16:27:10 +1100 |
commit | 326b2c79dfaf472d67e5e3fee5868e78ccc6be73 (patch) | |
tree | a95170757003e9bd5ff2a94346484953b00552c2 /docs/esp32 | |
parent | 872bab6b3c967deaeff5f0f3d0d066c3fde03802 (diff) | |
download | micropython-326b2c79dfaf472d67e5e3fee5868e78ccc6be73.tar.gz micropython-326b2c79dfaf472d67e5e3fee5868e78ccc6be73.zip |
docs: Remove reference to obsolete neopixel_write function.
It has been replaced by machine.bitstream.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32')
-rw-r--r-- | docs/esp32/quickref.rst | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index 94b5d966ed..de107ee25c 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -599,18 +599,14 @@ The APA106 driver extends NeoPixel, but internally uses a different colour order ap = APA106(pin, 8) r, g, b = ap[0] -For low-level driving of a NeoPixel:: - - import esp - esp.neopixel_write(pin, grb_buf, is800khz) - .. Warning:: By default ``NeoPixel`` is configured to control the more popular *800kHz* units. It is possible to use alternative timing to control other (typically 400kHz) devices by passing ``timing=0`` when constructing the ``NeoPixel`` object. -The low-level driver uses an RMT channel by default. To configure this see +For low-level driving of a NeoPixel see `machine.bitstream`. +This low-level driver uses an RMT channel by default. To configure this see `RMT.bitstream_channel`. APA102 (DotStar) uses a different driver as it has an additional clock pin. |