Hi, Steve
There's something hurting me in the listing ...
"
Quanta CON 1251 ' For 10-bit A/D +Vref = 5V : 5V/1023*256=1.251=Quanta
"
shouldn't it be Quanta = 5v/ [b]1024[/b) * 256 ... ???
That's what all my datasheets tell ... with 5v ref : "code 1023" is 4.99878 v ...
Alain
Last edited by Acetronics2; - 21st January 2008 at 16:50.
************************************************** ***********************
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