Hello to all,
#define RX2_PIN 25
#define TX2_PIN 26
I have declair Serial2.begin(9600, SERIAL_8N1, RX2_PIN, TX2_PIN); and need to disable UART 2. For this used Serial2.end();
After that but TX2_PIN not working as input. Is any configuration need to be done when disabled UART2 for working RX and TX pin as normally input.
Please help me.
ESP32 Serial2 Uart TX pin problem
Re: ESP32 Serial2 Uart TX pin problem
If you are going back to using 25 and 26 as inputs then you probably need to assign them with pinmode(25,INPUT_PULLUP) or similar
Who is online
Users browsing this forum: No registered users and 38 guests