(01-11-2023, 01:59 AM)admin Wrote: i have tested code, sorry for my before error photo.
just set serial1 pin define as these will be work fine. here is photo.
#ifndef RX1
#define RX1 16
#endif
#ifndef TX1
#define TX1 17
#endif
if you want to eraser all esp32 data, you can use ESP Tool: https://www.kincony.com/esp-module-flash...tools.html
see this photo, config the serial port in arduino config file. will be work fine.