You have got it!Is that close?
No, since Led1 and Led2 has been declared as alias of gpio.0 and gpio.6. So if you want set them to zero just state Led1=0 : Led2=0.Is it necessary to set the gpio.0 or gpio.6 to 0 to make sure they turn off at start up?
Cheers
Al.
Bookmarks