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 modulati= on 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