diff options
author | Damien George <damien@micropython.org> | 2022-01-11 17:21:14 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-01-14 16:40:01 +1100 |
commit | a3bbd5332bff0a67204196d2e365ad10ff773d58 (patch) | |
tree | b244f384ac3160c554ebaede573ac51c1c9b47d7 /docs/esp32 | |
parent | e754c2e84f1845313411a68c26821d613e66934e (diff) | |
download | micropython-a3bbd5332bff0a67204196d2e365ad10ff773d58.tar.gz micropython-a3bbd5332bff0a67204196d2e365ad10ff773d58.zip |
esp32/machine_bitstream: Reinstate bitstream bit-bang implementation.
The bit-bang implementation was replaced with the RMT implementation in
599b61c08687ca077e3b0e115d5b76affcc673ca. This commit brings back that
bit-bang code, and allows it to be selected via the new static method:
esp32.RMT.bitstream_channel(None)
The bit-bang implementation may be useful if the RMT needs to be used for
something else, or if bit-banging is more stable in certain applications.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32')
-rw-r--r-- | docs/esp32/quickref.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index 76a3827e36..337f87b66f 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -573,6 +573,9 @@ For low-level driving of a NeoPixel:: 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 +`RMT.bitstream_channel`. + APA102 (DotStar) uses a different driver as it has an additional clock pin. Capacitive touch |