Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have a round display based on ILI9331 controller. They are sold on aliexpress and can be easily found by "ILI9331" query. There is no support for them in any graphics library for arduino. The closest in terms of support is MCFRIEND_kbv library, which lacks init code for ILI9331, but has all other commands and registers sorted out.
So with help of a datasheet, sample init code from a seller and MCUFRIEND_kbv library I've made it work. I'm not sure how many other displays with this type of controller are there, but I would be pleased if I've found it was supported when I bought one.
I also had to add
writeC16D16
function toArduino_DataBus
class as this controller requires 16 bit writes for both the register and data.I've recorded a video of this display running your
PDQgraphicstest
example sketch. I've addedinvertDisplay
anddisplayOff/On
function in the end to show them working.This display has only 8/16 bit parallel interface, though controller supports SPI too.
VID_20220120_135124.mp4