Has anyone designed any PIC Basic code which will allow 3 seperate LEDs (Red, Green and Blue) to produce full spectrum fading using a PIC. I have read many posts and PWM seems the most obvious route, but no example code seems to be available.

I want automatic colour fading through each of the LEDs to produce a full colour spectrum and then loop again.

From this i might then be able to produce different effects etc.

Has anyone done this and is willing to assist / share code?

Many thanks.

Steve.