Ok so a few months back I posted about this LED night light I'm making for my girlfriend. I decide that instead of getting a bunch of RGB LEDs, I went and bought the Tri-color LED strip instead because it seemed like a idiot proof thing to do. I downloaded the example code for it and it looks great! But here is my trouble, how do I add a dimmer dial to the code?
Here is a link to the code.https://github.com/Grid21/_2760339_Program
The strip is analog and uses three pins. It plugs into pins GND, VIN and A0 (analog 0) The chip on the strip is a TM1803 chip.
I did read over all the .PDF documentation but I still don't understand what I read. If someone here could look at the code, explain to me and then explain how to add a line of code that would use a variable resistor dial to adjust the brightness that would be fantastic! If need be I can also give links to the .PDFs I have on the tri-color LED Strip.
Thanks so much for the coming help!
Josh
Also could sciguy14 Help me?

