c - Arduino - How to cycle through hex colours from 000000 to FFFFFF? -


<3> How can a cycle start with a <00> 000000 to FFFFFF using an LED module which can be controlled by passing in a RGB hex color / ex> long color = 0x000000;

I should have a loop that walks and shows every possible color,

  color = 0xFFFFFF   

I'm not sure about my information about hex representation of colors !? Clear

(int color = 0x000000; color & lt; = 0xFFFFFF; ++ color) What's wrong with the code> ?

Comments