Aug-21-2022, 03:36 PM
(Aug-21-2022, 03:18 PM)Yoriz Wrote:Thank you! I don't know how i could miss something like that. I both love and dislike the "it was so obvious how couldn't i see it" feeling.leds
is a list, to access an item in the list use square brackets and give an indexleds[0]
to use it in your code give the index asi
provided by the for loop, line 25 =leds[i].on()
and line 28 =leds[i].off()
Back to work!