Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello,
I am thinking about using an MBED to communicate with a Lego Mindstorms NXT brick - ie as an "intelligent sensor".
To do this, I need to use I2C in slave mode, since the NXT only implements I2C master mode.
It doesn't look like the I2C library class supports slave mode, so I'm thinking I need to write my own I2C interrupt handlers etc.
Has anyone out there managed to use I2C slave mode on mbed yet?
Any words of wisdom you can offer (or better still, some code)?