![]() ![]() The values here are not correct, and would still need tweaking) So basically I end up with a huge matrix (or 3D array if you like, with many more steps between the colors, and between the colors and white than shown below. I'd like a second control to make the selected color whiter, so for example if RED was selected with the first control (first row), then moving the second control would add more green and blue, until R=G=B=255. ![]() From the A/D value, I need to lookup an RGB combination, and PWM the port connected to the LED's.Ī very simple example of the lookup of the FIRST control to select the basic color would look something like this (but with much smaller steps) The controls would be a Pots on A/D converters. I would like two controls, one to select a color, and a second to lighten that color from a fully saturated color to white. I'd like to control RGB LED's with a PIC. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |