开发板 战舰mini
开发GUI STemWin V5.22
驱动ILI9341的2.8寸屏 支持多层显示吗?
如果支持LCD_X_Config(void) 该怎样设置第二层
Alpha混合技术 能在迷你板上实现吗
我的为啥是这样的
[mw_shl_code=c,true]void LCD_X_Config(void) {
GUI_DEVICE * pDevice;
CONFIG_FLEXCOLOR Config = {0};
GUI_PORT_API PortAPI = {0};
pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_565, 0, 0);
LCD_SetVSizeEx(0, VXSIZE_PHYS, VYSIZE_PHYS);
LCD_SetSizeEx (0, XSIZE_PHYS , YSIZE_PHYS);
Config.FirstCOM = 0;
Config.FirstSEG = 0;
Config.Orientation = 0;
// Config.Orientation = GUI_SWAP_XY | GUI_MIRROR_Y;
Config.NumDummyReads = 2;
GUIDRV_FlexColor_Config(pDevice, &Config);
PortAPI.pfWrite16_A0 = LcdWriteReg;
PortAPI.pfWrite16_A1 = LcdWriteData;
PortAPI.pfWriteM16_A1 = LcdWriteDataMultiple;
PortAPI.pfReadM16_A1 = LcdReadDataMultiple;
GUIDRV_FlexColor_SetFunc(pDevice, & ortAPI, GUIDRV_FLEXCOLOR_F66709, GUIDRV_FLEXCOLOR_M16C0B16); //modify by fire ?GUIDRV_FLEXCOLOR_F66708
}[/mw_shl_code]
在线等大神 |