Re: [Tinyos-help] about I2C on atmega128

2013-03-27 Thread András Bíró
Hi, It would do exactly what you want. Andris On Tue, Mar 26, 2013 at 12:47 PM, mamzh i-m-a...@hotmail.com wrote: Hi, anyone who cares I'm using Tinyos 2.x to integrate MMA8451 with micaz nodes. MMA8451 is a sensor using I2C protocol. I2C has some flags such as I2C_START,

[Tinyos-help] about I2C on atmega128

2013-03-26 Thread mamzh
Hi, anyone who cares I'm using Tinyos 2.x to integrate MMA8451 with micaz nodes. MMA8451 is a sensor using I2C protocol. I2C has some flags such as I2C_START, I2C_ACK_END, I2C_STOP, but no flags for Repeat start. What if I use a sensor which using I2C this way, just like the picture