brainelectronics/micropython-nextion

UART ID should not be hardcoded

Closed this issue · 2 comments

Right now UART is hardcoded to UART 1, see

self._uart = UART(
1,
tx=self._tx_pin,
rx=self._rx_pin,
baudrate=self._baudrate,
timeout=self._timeout,
invert=self._invert)

This should be configurable, as for example the RPi Pico has more UARTs available.

fix is on the way

fixed with 0.15.0, thank you for your report!