Hi,
I am trying to talk to a serial display. I only need to TX to it, there is no RX involved. Is it ok to set up the UART as follows:
uart.init(9600, bits=8, parity=None, stop=1, tx=4) # init parameters
with only the TX pin specified? Or do I need to use TX/RX as pairs?
Thanks,
Brian H.
Uxbridge Ont
UART ?
Re: UART ?
If you do not specify rx, the default will be used. Which pin that is, depends on the board and UART number. The defaults e.g. for UART 2 on ESP32 are pin 16 and 17 and should not be used (old bug). The defaults for UART1 are pin 9 (rx) and 10 (tx).