7 years, 12 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

Be the first to answer this question.