Hi all,
I have a project that uses a 24 channel LED driver (TLC5947), It is designed to run with 12 Bit PWM adjustment per channel but for ease of use I have fudged it so that I can use nice round 8 bit byte values and have a tidy and expandable R,G,B x 8 LED solution. The main project just needs a selection of fixed colours which is nice and easy and runs just fine.
But since I have all the hardware working I was thinking of playing a bit more with RGB colour mixing, fading and stuff.
I have yet to get my head around a way to flowcode a elegant colour mixing solution and though it was worth asking if anyone else has played with RGBs and come up with any cute algorithms for fading, cycling etc.
Im using an ECIO 40P, (18F4455)
Thanks for any pointers,
JayDee
RGB LED Array Algorithm
Moderator: Benj
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: RGB LED Array Algorithm
Hi JayDee
Have you seen this article on the RGB LED
http://www.matrixmultimedia.com/article.php?a=365
Have you seen this article on the RGB LED
http://www.matrixmultimedia.com/article.php?a=365
1 in 10 people understand binary, the other one doesn't !