On Thu, 5 Feb 2009 13:31:08 -0800 (PST), "bathini" said: > > Hello Paul > > Thanks for your reply. I am not sure how to use the inbuilt module. Is > this when you initialize the CCP1 module of the PIC? I am a newbie and > learning. In section 9.3.3 of the 16F88 datasheet it shows 5 steps to getting PWM running. You should follow that and get that working first, then change it to suit your needs. Cheerful regards, Bob -- http://www.fastmail.fm - Send your email first class -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist