Hi Mellis yes I know I can do analogWrite but this takes up time in the loop.
What I am looking for is a way to do multitasking ie. keep the PWM going while my loop does other things.
PIC chips can do this so I am sure the Atmel can as well??!!??
Can anyone help?