On Sun, 4 Jan 1998 18:17:32 -0500 Tom Sgouros writes: >After noticing just such discussion last month about using the PWM >module on a PIC to adjust LCD contrast, I designed a program to do Lower resistance drive to the LCD works fine for me, at 40 kHz PWM rate I use 4K7 from PIC in series with 1K and 0.1uF to ground, connect junction to LCD. Gives 0 to 1.0 V approx with 0 to 100% PWM range. Even without the cap there was no visible effect on the LCD due to the 40kHz drive but best to be safe and include it. 2.457 MHz xtal allows 16 steps of PWM at 40 kHz rate, more than enough. Only drawback might be increased power consumption due to the low resistance, not a problem in my case. -- Alan Hall, Ipswich, UK (01473) 652301