You can use GPIO.2 to light an LED if properly designed. I don't know much but I know that. Since you moved it to GPIO.0 and it worked then it should be designed correctly.Perhaps I can't use GPIO.2 for an output to light the LED.
I think tabsoft has it right to change LED to LED var GPIO.2
Ifn that doesn't work can you show schematic?
Bookmarks