diff options
Diffstat (limited to 'docs/library/esp32.rst')
| -rw-r--r-- | docs/library/esp32.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/library/esp32.rst b/docs/library/esp32.rst index e3c25d265..ff1c99a55 100644 --- a/docs/library/esp32.rst +++ b/docs/library/esp32.rst @@ -250,6 +250,17 @@ For more details see Espressif's `ESP-IDF RMT documentation. new sequence of pulses. Looping sequences longer than 126 pulses is not supported by the hardware. +.. staticmethod:: RMT.bitstream_channel([value]) + + Select which RMT channel is used by the `machine.bitstream` implementation. + *value* can be ``None`` or a valid RMT channel number. The default RMT + channel is the highest numbered one. + + Passing in ``None`` disables the use of RMT and instead selects a bit-banging + implementation for `machine.bitstream`. + + Passing in no argument will not change the channel. This function returns + the current channel number. Ultra-Low-Power co-processor ---------------------------- |
