Help with using mp_sched_scheduler #12929
Replies: 1 comment 2 replies
-
You need to have some structure in RAM that can map the information you receive in the C IRQ handler (i.e. Note that these handlers have to be "root pointers" (so the GC doesn't clean them up). Look at e.g. stm32/extint.c for example (it uses But also worth looking at |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am new to micropython and trying to port GPIO IRQ feature for ameba boards. This is my python script.
This is my objpin.c code where
I have read up a bit, but im not sure how to use mp_sched_schedule to pass the user-defined handler into the c code
Can someone guide me towards the right direction? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions