integrate display driver ILI9342C for esp32 #15405
Replies: 6 comments
-
I've been using that module for a while and it works very well. Any chance this can be integrated into Micropython? |
Beta Was this translation helpful? Give feedback.
-
What do you mean with "integrated": a) Add it to Micropython-lib, or b) freeze it by default into a firmware? a) may happen, if someone make a PR for it. b) is unlikely to happen. But you can always install the driver yourself or build your own firmware with the driver integrated into it. |
Beta Was this translation helpful? Give feedback.
-
What are the requirements to have this driver added into Micropython-lib? I'd like to make sure I hit all the targets so my time is well spent. |
Beta Was this translation helpful? Give feedback.
-
micropython-lib is all pure python, whereas the fast driver linked from @russhughes is a C driver that needs to be compiled in. There are pure python ones that would be appropriate to submit, they're just not quite as fast. For these they would need to be in the appropriate drivers folder and have a compatible licence. If you're submitting code originally written by someone else you should ideally get their permission / blessing, or at least document where it came from and meet any attribution requirements of the associated licence. https://github.com/micropython/micropython-lib/blob/master/CONTRIBUTING.md |
Beta Was this translation helpful? Give feedback.
-
For a pure Python driver there is a fair chance that this one (docs, code) will work. It is fairly generic and has been tested with ILI9341, ILI9488, HX8357D and ILI9486. If you try it please report back. |
Beta Was this translation helpful? Give feedback.
-
Guys you should take a look at Circuitpython, it solves all these problems and more, it's neat and polished, basically they took care of that 20% that takes 80% of the time. Things just work. I think there are lots of lessons, at many levels, that can be learnt from that project. I'm definitely switching to their platform. |
Beta Was this translation helpful? Give feedback.
-
I'm using ESP32-S3-BOX and it contains a LCD official link, but I can not use it while I'm plan to use micropython because there's no driver.
For features for existing ports (e.g. new peripherals or microcontroller features), please describe which port(s) it applies too, and whether this is could be an extension to the machine API or a port-specific module?
ports/esp32
For drivers (e.g. for external hardware), please link to datasheets and/or existing drivers from other sources.
https://github.com/russhughes/ili9342c_mpy.git
Looks OK
Beta Was this translation helpful? Give feedback.
All reactions