You can use the pic comparator as an amplifier and solve the high impedence problem. See Microchips comparator tips & tricks @ page 31.

Cheers

Al.

http://www.google.it/url?sa=t&source...TP7z0_z8fDfPxA