I'm using Arduino to compile my source.
https://images.squarespace-cdn.com/cont ... rmat=2500w
In the esp32 datasheet, it mentions that it is possible to use any of the GPIO pins as either Tx/Rx for the UART interface. I would like to set say, GPIO27 and GPIO15 as Rx/Tx respectively. Would it be possible to assign those pins to UART1??
Code: Select all
#include <HardwareSerial.h>
HardwareSerial mySerial(1);
void setup() {
mySerial.begin(115200,SERIAL_8N1, 16, 21);
}
Welcome any advise. Thanks