> 2. PWM in software Barry, I have a PIC running at 40MHz that puts out 6-bit PWM from 100Hz to 279Hz http://www.piclist.com/techref/microchip/HV_PWM_Proto.htm Both frequency and duty cycle are pot-controlled There is plenty of spare processing power and could be expanded to 7-bit or faster/slower speeds One pot sets the reload value for TMR0, the other sets the ratio of 'off' and 'on' Joe --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .