Hi, I've got an application for which I need to use the PWM Module of a 16f877 to generate a sine wave. Now, I'm using a 64 byte RETLW table to provide the values and I'm using timer0 interrupt for timekeeping. I don't know how to specify to the PWM module that 8 bits is the resolution that I need rather than 10 bits. From what I understand, 10Bit resoultion results in 1024 steps with CCPR1H:CCPR1H steps as on. What if I need only 256 steps ? I'm quite confused with the PWM and I'd like to clear all the problems before getting started with the hardware. Could someone enlighten me about the PWM mode of the CCP Module ? Any pointers to web resources ? TIA, Jeethu Rao -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics