Hi, Dave
You can try :
distance = 8573 + 41*AdResult + ( AdResult / 2 )
with Distance ( use a WORD ) = 1000 * actual distance in " ...
Alain
PS; SURE it is a laser distance finder ??? I'd Better bet a laser pointer on a U.Sonic distance finder
... overall if measuring as short as 6" ... and no more than 40 or 50" ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks