Closed brianmay closed 2 years ago
Will leave this for now, until some of the other bugs can get fixed.
I suspect that the ili9486_rgb666
will need a new parameter for the delay struct, so it can call the init function of the model.
Sorry maybe I'm being obtuse but what common_init
function?
Sorry, got the name wrong:
It is called by the init()
function here:
But there is nothing that calls the init()
function.
The new
function is called, but the new
function does nothing.
I just saw this method:
Maybe calling this is intended. If so, the documentation on the README.md
probably needs updating.
Ah sorry you're right. init_common
is meant to be a common setup for all ILI9486 displays in any configuration. The individual init functions are then used to setup specifics for e.g. different color variants.
The workflow should be user calls display.init
which calls model.init
which in this case will call init_common
at the end of its setup.
When calling this as per instructions:
The
common_init
function is never called, and the screen is not initialised.