The DHCP exchange is rather quick so it does not explain the excessively long connection time, but it still should not happen (updated: the IDF version does not show DHCP requests). I then copied the full wifi part from the IDF project into the Arduino IDE sketch and it ran as slowly a...
My Arduino kit contains a Arduino UNO clone. This was bigger than I wanted so I settled on a cloned Arduino Nano from eBay which was about $10. This had the digital inputs I wanted, more than enough memory to hold the simple sketch I’d write, could be run from a 12V DC plug pac...