Thnks misterg for responding.

The LDR is for my robot project. http://letsmakerobots.com/node/6408

I need the LDR as a light sensor but not sure how to conect to PIC and either to use the analog input or use the comparator on the PIC. I am not really understand how comparator works. still in learning stage.

Hope you or somebody in this forum can give some guide.

Thanks.