Replies: 2 comments 2 replies
-
A partial answer from discussion 178 |
Beta Was this translation helpful? Give feedback.
-
the stub file that gets generated as part of the build process is not 100% perfect and does have some errors in it. It is correct enough where it removes a lot of frustration from trying to figure out the API. To use it you will want to be running an IDE that supports reading of the stub files. These are the ones that I know support it:
I do not know if Thonny does but I really do not recommend using Thonny anyhow as it has an issue with the way it restarts the ESP32's which causes issues with the ESP32 having a core panic. I have attempted to work around the problem without any success and there is a whole other problem that gets thrown into the mix and that is if the ESP32 has built in USB CDC support and the way MicroPython is coded and not being able to perform a hard reset like can be done using the UART. |
Beta Was this translation helpful? Give feedback.
-
While I'm attempting to learn more about micropython and LVGL code, I look over the samples at the LVGL docs
V8 Samples with C & Micropython
Unfortunately, I'm not sure what the new mapping are for things that are missing.
I think lv.btn() is now lv.button() but perhaps I'm mistaken...
Another example, text auto formatting sample code looks for a text area on an event.
text auto formatting sample code
The ta is a struct lv_event_t that no longer has a get_text()
attribute.
I seem to recall @kdschlosser mentioning that there is a micropython in the build that describes the C to micropython binding, but for the life of me I can't recall or find the discussion.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions