GPI02 is connected to the internal LED. I recall the Arduino IDE got extra Tools menu options in that time frame and one of those is selectively setting the LED pin. Maybe if you try toggling that to something other than whatever you have it set now...
Fingers crossed for you.
w/ GUI Admin Client, Drag & Drop File Manager, OTA Built-In, Access Point Manager,
Performance Metrics, Web Socket Comms, App API, All running on ESP8266...
Even usable on ESP-01S --- Please check it out!
https://inqonthat.com/inqportal-the-three-line-promise/
https://InqOnThat.com/inqportal