LCD MB1166-A09 and LCD MB1166-A03
Hi,
We had an LCD problem with a recently bought board STM32F769I-DISCO, revision MB1166-A09.
Now it's resolved by recompilation with macro "USE_STM32F769I_DISCO_REVB03" entered in project options.
My question now is how can I make it universal, without compilation for different LCD versions.
How can I check in runtime which version LCD is installed and call the appropriate version of LCD init function,
" NT35510_Init(NT35510_FORMAT_RGB888, orientation);" or
"OTM8009A_Init(OTM8009A_FORMAT_RGB888, orientation);" ?
Please help us to resolve this issue, we have a lot of applications with our technologies for this board ( A211400002, MB1166 A-03 / A-02 ) and It is very inconvenient to manage the same projects for different types of LCD.
I develop with MDK-ARM µVision.
Best regards,
Dmitry S.,
Embedded software engineer
Post edited to adhere community guidelines.