Do you have gpio.0=1 pulled down with a 10K resistor?
Dave
Always wear safety glasses while programming.
I was not meaning the pins with LEDs.
It sounds like you have gpio.0 connected to a switch of some kind.
When the switch is pressed the pin goes HIGH.
A pull down, resistor to ground(zero rail) will keep the pin LOW, not allowing false signals until the switch is pressed forcing the pin HIGH.
Dave
Always wear safety glasses while programming.
Bookmarks