I have to give an analog light input to the ADC port of PIC16F877. I am wondering how do I connect the photo transistors. If the collector is pulled high and the emitter is grounded and the collector is connected to the port AN0 I will get a LOW signal as collector output whenever light shines on the Base. If I pull-down the resistor the output at the collector will be HIGH when light shines. I want to take to digital output of the photo transistor inputs. I think the latter connection is suitable...but will the pin overload?