-
Notifications
You must be signed in to change notification settings - Fork 189
Description
Hi,
This is not a bug/issue report. I dont know where to post my issue. I want to write an C/C++ code application for interacting with sensors, collecting its data. Its data is already at C/C++ side. I need binding it to MicroPython side, so that uPy code can use its data natively, or attach uPy function callback to C/C++ sensor app side. When getting a new sensor data at C/C++ side, uPy callback will be called for further processing. Actually it would be the same LVGL, but it's too large for me to follow.
I've already read these 2 guides, but still can't master it. Section of ESPIDF is useful for me to learn. But I need a guideline to code my C/C++ app like LVGL so that MicroPython binding process is smooth during development and maintenance in future. If having a small C/C++ example with steps to run gen_mpy.py for generating mp module is really graceful.
https://blog.lvgl.io/2019-02-20/micropython-bindings
https://blog.lvgl.io/2019-08-05/micropython-pure-display-driver
Thank you so much.