So I have an rgb led and I can change the color with:
setColor(r, g, b);
I want a loop to loop through all the possible combinations how can I do this?
arduino
So I have an rgb led and I can change the color with:
setColor(r, g, b);
I want a loop to loop through all the possible combinations how can I do this?
Best Answer
This can be easily achieved with nested for loops:
It would be really nice if you put some more effort into your work... Hope it helps. Best of Luck!!