Scroll up and look at your original post and then the indented C code in mine. Think about it for a bit. It'll come to you.
I have a GP2D12 here and was thinking of writing some code for it anyway. In C even. But that doesn't help you right now. I may have it working by tonight. Maybe...[/QUOT
first of all thanx for every thing
then what i want to say is that i have connect the sensor to a pic as you know: sensor output to A0 of PIC16f877a and the other pins one for ground and the other to voltage source
and then i want to display the recored voltage into an LCD and when i configure and installed the HEX file into the PIC it hust prints
"Wellcome volts =0" iam crazy with it
i dont know what to do i have to submit it to my instructor by monday