Philip Pemberton wrote: > I was planning to use PID > to keep the output voltage/current stable I think that is way overkill and much more difficult than necessary. > I'm probably going to use straight linear control along the lines > of "Vout just jumped up by 1% of full scale, so kick the duty cycle > down by the same amount" This is still too complicated and may have stabilty problems. What's wrong with the simple "out is low so I'll to another pulse, then wait a little while and check again"? ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist