K.i.s.s. ...
Hi,
The simplest way :
Time = ( ADC result >> 1 + 50 ) MIN 500 ...
or better
Time = ( ADC Result >> 1 + 50 ) * 8 / 9
Applause ... Thanks !
Alain
Last edited by Acetronics2; - 17th June 2008 at 20:17.
************************************************** ***********************
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