summaryrefslogtreecommitdiff
path: root/docs/esp32
diff options
context:
space:
mode:
authorSimon Baatz <gmbnomis@gmail.com>2022-01-02 00:30:37 +0100
committerDamien George <damien@micropython.org>2022-01-06 13:21:37 +1100
commit79ae7098cab1eb464ef046cfcbdc9d512bd835dc (patch)
tree788e4355865251c465c94e1d7b147d1074e133c1 /docs/esp32
parent49d8ae3ecc8833123609822567cbed239bbc36f2 (diff)
esp32/machine_bitstream: Fix signal duplication on output pins.
After changing the bitstream implementation to use the RMT driver in commit 72d86158121e32bbabaeade08f449d507bf40f9a ("esp32/machine_bitstream.c: Replace with RMT-based driver."), using multiple `Neopixel` instances shows signal duplication between the instances (i.e. a `write()` on one instance is written to all instances). On invocation, the rmt driver configures the GPIO matrix to route the output signal to the respective GPIO pin. When called for a different `NeoPixel` instance using a different pin, the new route is established, but the old route still exists. Now, the RMT output signal is sent to both pins. Fix this by setting the standard GPIO output function for the current pin after uninstalling the RMT driver. Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions