The Arduino sketch and partially modified ESP32 sketch are here: https://github.com/Account-Git/Arduino-to-ESP32
Please, can anyone help?
Something so simple shouldn't be this difficult.

I have not examined your code, but generally the biggest porting issue from Arduino (UNO, Mega, Nano, Micro) and ESP32 is that AVR 8-bit uC has int defined as 16-bits and int on ESP32 is 32-bit.
Users browsing this forum: No registered users and 65 guests