At 11:09 PM 2/10/01 -0500, you wrote: >At 08:28 AM 2/10/01 -0500, you wrote: > >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)? Ok, just an interrupt on TMR2 == PR2 match will do it? So, TMR2IE must be set.. that easy I guess. ..must..have..more..coffee... ;-) Best regards, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com Contributions invited->The AVR-gcc FAQ is at: http://www.bluecollarlinux.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu