Ok, that's what I was wondering. I was bouncing between that and the t2con register for turning off the timer all together. Now I just need someone to help me understand how you modulate that output. Do you modulate by just turning the damn thing on and off at some other timer interval so you can produce a 1 that's shooting out a pwm frequency greater than your modulation rate? If that's the case, then how would you go about doing that? Would this require a second timer that runs at some "baud rate" that pulls data from a register and sends it out the pwm? -Shawn Jason Harper wrote: >Shawn wrote: > > >>they mention a CCP1RIL bit. But I'm looking at the datasheet for the >>16f627 that they are basing the design off of and I can't find the bit >>anywhere... >> >> > >I think they meant the CCPR1L byte - changing that between zero and the >calculated 50% duty cycle value would give you glitchless on/off modulation >of the output. > Jason Harper > >-- >http://www.piclist.com hint: PICList Posts must start with ONE topic: >[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads