N. T. wrote: > 20ma/5V lamp is 250 Ohm at 20ma and I expect it to be less than 20 Ohm > when cold. It should be quite linear at small AC signals, say less > than 100 mV. Feed the lamp with a constant current source regulated by > a microcontroller. That is basically Bill Hewlett's design for gain control of his oscillator. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .