SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By Oliver_Fr
#196364
Hi there Im having trouble with coding a specific task on my Arduino Uno. I've set up a simple RGB LED circuit. I'm trying to write code, which slowly increases the brightness of an RGB LED for 4 seconds, then sustain maximum brightness for 7 seconds, then slowly fade out for 8 seconds. While this is happening, it should also fade from yellow to orange and finally red. Any help would be appreciated. Thanks.

https://pastebin.com/HzsxmMuJ