Richard,
really thanks for your time.
I found this,if i remember correctly somewhere related to this specific sensor.
Then in the equation i have added the followingCode:tempir = (temp.highbyte << 8) + temp.lowbyte
Your way is much more efficient and works just as expected.Code:temperature = tempir/50 ' based on the manual we need to divide by 50 or 0.02 temperature = temperature - 273 ' subtract 273 for Degree in C,actually is 273,15Im very happy.
Now what is wrong with the I2C command?
Bookmarks