Thread: urgent help
View Single Post
  #7   Spotlight this post!  
Unread 16-12-2007, 02:38
engkhlaif engkhlaif is offline
Registered User
no team
 
Join Date: Dec 2007
Location: Palestine
Posts: 4
engkhlaif is an unknown quantity at this point
Re: urgent help

Quote:
Originally Posted by 3dude_2231 View Post
Hi Jason,
first of all, are you a member of a FIRST team, or just got here by chance? =]

now..
*read your datasheet to this sensor, check to see what king of output does it give.
*read PIC's datasheet as well, to see what do you need in order to operate
the PIC's ADC, it shouldn't be hard, but educational.
-if you are pressed with time, I could assist you, but studying the PIC's
architecture would be of much greater value to you.

do you have any former experience with PICs?

Ran.
first of all
Ran iam engkhlaif who need the help
any way
about me i dont know what is FIRST but iam a student in my last year and ,ofcourse i had experience witth PIC's
i have read the sensor datasheet the type of my sensor if GP2D12 wich gives analog output so i need to configure them (ADC's pins)
i need sample code that will read the sensor output then convert it to digital and then display the distance on LCD
the programm iam using is MPlab v7.31
please any one can help
thanx to all