Hi, I'm the software developer for a little company called Corvette Engineering. I'm a C++ /windows / Unix programmer by trade, though I did do some 68HC11 development back in the latter part of last century. Boy it's cramped in these PIC devices! OK, pretty new to the PIC world, so I'm wondering if the above pic is going to make me suffer in the following application...or if I should get a fancier PIC with a built in PWM or even one O them thar motor controller PICs? I like the 8 pin package... This is an extremely simple project, The goal is to measure the frequency of the input signal and use it to vary the PWM which will drive a FET that controlls a 12v solenoid. I have a PWM running using timer0, so that wasn't too bad. I plan on using interrupts on a GPIO pin to measure the period of the incomming signal. Outputs 250hz PWM Inputs 0 to ~5khz TTL square wave signal 2 push buttons, used to modify the PWM vs frequency slope, min and max. some simple math to compute the current frequency and set the current PWM duty cycle. So Crazy or not? Thanks Keith -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist