hi,
no replies nothing work tell now i got blank screen
Hi, Ahmed
Just comparing the 18B20 Datasheet, page 5 to the 1820 Data., Page 4 will help you to understand how temperatures are coded in both cases ...
and what you have to modify to get a nice result ...
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 " !!!
*****************************************
hi,
thanks for replay please find attached schematic
i am trying also to get rom id for ds18b20 but i got only 8 hex digit attached is the code
At first, try
should print missing Zeroes ...Code:... for i = 0 to 7 LcdOut HEX2 ID[i] next i ...
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 " !!!
*****************************************
hi,
i update the code to read rom id and i can read it now working code attached , but still can not read temp. any update
Here is all that You have need : http://www.picbasic.co.uk/forum/show...hlight=ds18b20
Bookmarks