You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a library in C and I have mapped it into my Micropython project. This library implements a Queue and I'm avoiding polling to get data from this queue from Micropython. How can I register a callback wrote in Micropython at the reception of an ISR or event into this C library? What I mean is how can I execute a callback into Micropython as soon as I receive some data into the Queue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I wrote a library in C and I have mapped it into my Micropython project. This library implements a Queue and I'm avoiding polling to get data from this queue from Micropython. How can I register a callback wrote in Micropython at the reception of an ISR or event into this C library? What I mean is how can I execute a callback into Micropython as soon as I receive some data into the Queue?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions