Hello Guys !


I Know that this is an old post, but I would like to implement this solution on my project.

I´m using a 16F877A @ 4Mhz, a 4x20 lcd and DT_Interrupts.

I´m using the Timer0 for pulse counting, Timer2 as a 500 ms Time base and Timer1/CCP1 for pulses "on-time" reading.

My doubt is : Can I use CCP2 to implement the contrast control as sggested by Melanie ? Or, as all timers are being used by the mains program, I can not implement it ?

SHould I move to another PIC, 18F2520, for example ?

Thank you !

Regards,

Sèrgio Pinheiro