Hi,
Your Gain calculation is correct ...
BUT can only be used for Displaying ( LCDOUT SDEC Gain ...)
some easy formatting will give you the "real" value ...
Also note Decimals are here only for odd values of N ... and are only 0 or 5 ... !!!
See 18S20 temp. sensor Threads for similar values displaying ...
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