From: Spehro Pefhany > > Is it possible to use thethe PWM module to also generate an interrupt, > synchronized with the 10 bit timer rollover or with the compare > match (so the PWM value can be updated)? > > Best regards, Sure, in fact it is easy. The PWM timer is timer 2, s just enable timer 2 interrupts and handle them. Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads