I just learned how to use the TLC5940 library to tell the chip how to run. For ever i have been trying to code it from scratch without the slightest hope of success. Now i just need to tell it to set a pin to a brightens and then update, so easy!
For now, i can set any pin to any brightness and change to any pin with any delay. But im interested in creating animations on a grid. It would be a lot easier to group every 3 pins into (R, G, B) values. so i could say at this light, maybe call it light B3 of the grid, and give it three values to tell it what to do. how do i go about doing that?
And for now im using many many lines to define what i want it to do, there has to be a mathematical way to tell it what to change to without me putting in very change. How do i do that?
Any other tips would be super awesome too.
Hi, here are some super awsome tips:
-
Read this. It isn't what you probably think it is.
-
Post a schematic of your circuit. Hand drawn on paper will be ok.
-
Post your sketch. (Warning: we will will be able to tell if you did not read point 1!)
-
Describe what you want to do. How do you imagine it working if you don't tell the Arduino what to light step-by-step? Do you want to give it some steps and it works out the inbetween steps?
Paul