BS2p24 & DS1631 - Problem reading least significant byte
Farmer Scott
Posts: 30
I'm having a problem, and hoping someone can help...
I'm using a DS1631 attached to a BS2p24, and attempting to read·two bytes forming a 12 bit temperature via I2CIN, but no matter what I do, seems as though I cannot get the Stamp to receive the least significant byte.· The way it's working is probably okay, precision is horrible (+/-2 degrees), and I was really hoping for more.· Attached is the code I'm using.
Any thoughts?· Please let me know...
Thanks,
Scott
I'm using a DS1631 attached to a BS2p24, and attempting to read·two bytes forming a 12 bit temperature via I2CIN, but no matter what I do, seems as though I cannot get the Stamp to receive the least significant byte.· The way it's working is probably okay, precision is horrible (+/-2 degrees), and I was really hoping for more.· Attached is the code I'm using.
Any thoughts?· Please let me know...
Thanks,
Scott
Comments