> Jinx- > Why aren't you using the hardware PWM? > David I might be wrong, probably am as it doesn't sound right, but from what I can gather from DS33023 (Mid-range manual) PWM does not appear to be part of the interrupt system in the way that TMR0 is. However, I should say that I was in the middle of nutting out PWM for something else and got side-tracked with this voltage thing, so chances are I didn't get all the pieces together yet. If the PWM module can indeed be used as a switch-mode driver under interrupt then it's the sensible way to go Specifically, is it always necessary to poll TMR2IF (as is the case with the TRMT flag in the USART module) in software ? If so, then I'd rather stick with TMR0 IRQs for this application -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu