-
Have you attempted this tutorial yet?
http://www.espruino.com/Individually+Addressable+LEDsIt has a fading effect between colors, similar to that which you might be seeking.
@Gordon has spent a considerable amount of his valuable time coding a framework for you to hang your work on. It would be prudent to blend the above tutorial example into your work to get the desired effect you are after.
It is difficult for anyone to write a solution to an idea you have firmly cemented in your mind. A bit of study should provide the insight to a solution to that which you envision. I'm sure you will be proud of your own effort once you achieve success.
“There are no secrets to success. It is the result of preparation, hard work and learning from failure.” - Colin Powell
hello,
I've just make corrections suggested. It's working. But the colors jumps from color to another one. How can I make a fading animation between colors ?