I can only recommend to read the source code and see how the calls to the I2C drivers are made, that should give you a pointer on how to implement, basically you want to look at the interfaces I2CPacket and Resource, locate them in the SimpleTMP102P and start digging.
--Antonio On Tue, Jun 18, 2013 at 6:36 PM, TinyUser <[email protected]> wrote: > Hello Antonio, > thank you for replaying. Basically I'm just getting started with > TinyOS+sensor and I would like to find some code to study the I2C > sensor/mote communication. > I already worked with this MCP sensor in the past using a Raspberry PI and > the I2C but thanks to the python library and some tutorials+well documented > stuff I did manage to get the temperature in that occasion. I was trying to > do the same right now. > Do you have any guide about I2C+TinyOS+nesC ? > > > > -- > View this message in context: > http://tinyos-help.10906.n7.nabble.com/XM1000-and-I2C-tp23281p23283.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 > -- -- Antonio LiƱan Colina R+D+I Engineer @: [email protected] @: [email protected] ------------------------------ Advancare T: +34 93 582 02 70 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
