Share variable between C and Micropython
Posted: Mon Apr 19, 2021 2:39 pm
Hello everyone,
I succeed to compile micropython as static library on a stm32h7.
Now, I try to share variable between my C application and micropython interpreter like this :
- Create variable in micropyhton
- Do calculation on variable
- Get this variable on my C application
Which function can I call to realize this example ?
Thanks for any help ?
I succeed to compile micropython as static library on a stm32h7.
Now, I try to share variable between my C application and micropython interpreter like this :
- Create variable in micropyhton
- Do calculation on variable
- Get this variable on my C application
Which function can I call to realize this example ?
Thanks for any help ?