Hello HolyCarHorn
I just tried your code with debug print statements to show the values you are passing to the analogWrite() calls. I have posted a few seconds of the data at the bottom of this post. They look to be doing what you expect, slowly ramping up or down in random steps. I don't have LEDs or test equipment handy to check the outputs on the pins you have defined.
Can you clarify a bit more what problems you are getting?
Have you tried only connecting one LED colour at a time to see how each colour is behaving?
Regards
Ray
Led1 Led2 Led3
36.54 39.13 17.33
36.55 39.01 17.44
36.49 38.96 17.56
36.50 38.88 17.62
36.44 38.84 17.72
36.33 38.81 17.87
36.25 38.77 17.98
36.14 38.75 18.11
36.09 38.71 18.19
36.07 38.69 18.25
36.05 38.63 18.32
36.06 38.51 18.43
36.04 38.46 18.51
35.93 38.48 18.58
35.83 38.43 18.74
35.81 38.33 18.86
35.71 38.27 19.03
35.69 38.21 19.10
35.63 38.16 19.21
35.61 38.13 19.26