I am building a system that runs and RGB Led strip and I'm using some FET's to control the strip with three PWM digital output pins. However I can't figure out the code for changing the colors. I want to color to change while holding the button so you know what color you get when you release the button. I am taking code from a SparkFun example that changes and RGB Led from an analog read from a TrimPot. I can probably complete the code if I just had the concept for making this all happen.
This is just one piece of a much bigger project that is a control center for my camp trailer. Currently the arduino is running a temp sensor and voltage divider that output battery voltage and interior temp to an LCD screen. I have ordered a wireless 4 button key fob and reciever so that I can wirelessly turn on/off/change color up/down the RGB LED strip from anywhere in camp. I've got it all running right now except for the RGB portion. Can anyone help point me in the right direction?