(edit)
Here is a pwm code that has an RGB LED on portc.0 c.1 and c.2 and slowly shifts between 3 selected colors
Attach:rgbPWM.txt
Attach:class2_8.txt