Ok. So I tried with the mega. Also didn't work. Same behavior as with the ESP32.
Brundog, to do this, I had to look for an available pin on the mega to create a new PWM element. My only available pin with this capability was 10. According to the wiring map, with a serial connection, PWM should...