There's sample code posted on DT024CTFT webpage and it references numerous other C source and header files. Are these available and if so, where? I did a quick Google search and didn't find something that looks like Microchip Graphics Library with the references in the code sample.
https://www.seacomp.com/sites/default/files/references/Displaytech-ILI9341-sample-code.zip
Hi John,
Yes, this code is older, and used the Microchip Graphics Library which is no longer available. I think this could be refactored to provide "pseudo" code.
As an example, "ResetDevice()" could be refactored to below (removing application calls driver).
void ResetDevice(void) {
DisplayResetEnable();
DelayMs(10);
DisplayResetDisable();
DelayMs(120);
DisplayBacklightOn();
//Software Reset
WriteCommand(SOFTWARE_RESET);
//Supposed to wait at least 120ms, wait 250 to be safe
DelayMs(250);
WriteCommand(DISPLAY_OFF); // display off