Well... I ironed out the problem on the last interrupt driven problem. It was a faulty PIC going into latchup over nothing. Anyway. I have another problem. Because of the annoyance of setting the two LSB in the duty-cycle of the 16F62x PWM, and since I only needed 8 bits accuracy, I decided to use the upper byte and simply set the lower to 0,0. Then quadruple the clock for the pwm and I can write the intended value directly to the byte. Problem is 100% duty doesn't seem to exist? I set PR2 to 63 and CCPR1L to 255 and still my multimeter only registers 3.05 Volts on the pwm output? I supply the circuit with about 5 Volts. My understanding is that as long as you overshoot the value of PR2 it doesn't matter if you don't use the lower bits. You still get 100% duty. Any ideas? Oh, and yes I'm building a cheap speed-controller for my RC-plane :) (People should be wondering about now.) KreAture -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads