jandelgado/jled

can the candle or other examples be ran inside a function

Tezzatron81 opened this issue · 0 comments

i have a sketch with 5 leds and 10 counts of a button, trying to get the candle function to work on push 9 but it either turns on at the start or doesnt turn on at all. am i doing something wrong? im calling led.update(); in the loop,and again within the "if count =9" statement?