
I've tried downgrading everything (libraries, board managers, IDE software) to older versions, but none of it is doing it. I've tried going through the WiFi.h code to find what is using the onboard LED, but I'm not good enough with the code to find it. All I've been able to determine is that it doesn't happen until I give the WiFi.begin() command. If anyone knows a way to stop the WiFi.h library from overriding my pin 2 control, you will forever be my hero!
As a last resort, I might remove the onboard LED and wire it to a separate pin, but I'd REALLY like to avoid that if possible, since I'm certain this can be fixed in software.