Dr Skip wrote: > Why wouldn't this be a good application for a separate osc.? Even a 555 can be > freq and pwm varied by an input IIRC... > > Assuming the pic will be doing a few other 'higher level' things, using it for > this too seems a waste of horsepower and added code complexity, The complexity is just 5-10 extra instructions in some initialization routine to setup the PWM module. After that is done, there isn't one single instruction cycle "wasted" on it any more. > which is > sometimes more risky than a simple bit o' hardware. If it's dedicated to this > function, the 555 is a cheaper substitute. Adding to something can never make the total sum less. Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist