Hello ... No, I could not use I2CPacket and found no code guide. what you
could do is implement the code for I2C from HPL.
Good luck ...

2010/10/8 You Lizhao <[email protected]>

> Hi, sorry if it bothers you. I find your email from TinyOS-Maillist, and i
> have encountered the same problem with you, that is i can not figure out how
> to use I2CPacket interface.
>
> Currently, i use Telosb, and MMA7455 Acceleration Sensor. Moreever, we
> extend telosb with I2C interface. However, i can not found useful code to
> drive the acceleratio sensor. So if you got your problem solved in
> TinyOS, would you mind sending me a copy of your code to show how to use I2C
> interface? Thank you very much!
>
> Regards,
> Lizhao
>
> 2010/5/18 Ronald Eliseo Reyes López <[email protected]>
>
>>
>> ---------- Forwarded message ----------
>> From: Philip Levis <[email protected]>
>> Date: 2010/5/17
>> Subject: Re: Help with I2CPacket.nc
>> To: Ronald Eliseo Reyes López <[email protected]>
>> Cc: [email protected], [email protected]
>>
>>
>> Please send questions to tinyos-help. Thanks!
>>
>> Phil
>>
>> On May 16, 2010, at 5:21 PM, Ronald Eliseo Reyes López wrote:
>>
>> > Hi.
>> >
>> > I'm a student and I need to control an pressure sensor, exactly BMP085
>> from Bosch Sensortec, for my tesis degree.
>> > This sensor use I2C protocol to communicate with master, which will be a
>> Telosb mote.
>> >
>> > The problem is I don't understand how to use the i2c_flags with the
>> I2CPAcket's command read. The explanation is not enouhg seem me, please
>> anybody can help me?
>> >
>> > I have the new version of tinyos-2.x from cvs repository.
>> >
>> > thanks in advance, and i hope your answer.
>> >
>> > Ronald Reyes
>>
>>
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to