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.
8 years, 6 months ago.
I2C - onReceive/onRequest ?
Hey,
I've recently started working with nucleo-303k8. I'm right now working on two nucleos to communicate with each other over I2C. While I was working with Arduino, I was using onReceive / onRequest functions. Is there a similar way to detect receive/requests rather than calling slave.receive() in my main? Is it a good way to call slave.receive() in a Ticker? What am I missing here?
Thanks in advance