ESP32 Serial2 Uart TX pin problem
Posted: Thu Aug 19, 2021 3:33 am
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.
#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.