ivp ha scritto: > Joe, this example is for the 16F877 but PWM set-up is very similar > for the 18F4520 > > http://www.piclist.com/techref/microchip/16F877/pwm.htm > [...] definitely agreed with the recommendations. And as for contrast, I used to use a I2C DAC , with an op-amp to give some more "strength" to the DAC's output and if needed to make it negative. -- Ciao, Dario -- Cyberdyne -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist