Content originally posted in LPCWare by fangoman on Tue Jan 22 14:14:54 MST 2013
Hello! I have to interface a LPC1768 to a ILI9320 (SPI 4-wire), however, I read the entire manual emWin but I didn't understand how to do initialization, so it's okay?
GUI_Init();
GUI_X_Config();
GUI_X_ALLOC_AssignMemory();
LCD_X_Config();
GUI_DEVICE_CreateAndLink(GUIRV_FlexColor,GUICC_565,0,0);
LCD_SetVSizeEx(0,320,240);
LCD_SetSizeEx(0,320,240);
GUI_TOUCH_Calibrate();
GUI_TOUCH_SetOrientation(0);
LCD_X_DisplayDriver(0,LCD_X_INITCONTROLLER,NULL);