I was pretty sure the address was correct. I've been using that same address
with the same MCP9800 sensor in my Raspberry implementation and it works
correctly. However reading more deeply the datasheet
http://ww1.microchip.com/downloads/en/DeviceDoc/21909d.pdf in paragraphs 3.6
and 4.1.4 makes me think that the python library I used in Raspberry for I2C
appends the last w/r bit to the address the function takes sa parameter (ie
0x48 = 0b1001000 which are 7bits + 0 for writing op it yields 0b10010000 =
0x90). Anyway I've just tried changing the address to 0x90 but it doesn't
work either.



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/XM1000-and-I2C-tp23281p23299.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to