Hello!
Can I use virtual Scream display with 480x272 ssd1963 controller that has 1215KB of memory?
If yes, how to set it? GUI_SetOrg () function does not give results (LCD_X_SETORG does not go).
If configured as
and cause hardware scrolling is working.
If
does not work. GUI does not draw in the second area.
Initial LCD_Conf:
Display All
Can I use virtual Scream display with 480x272 ssd1963 controller that has 1215KB of memory?
If yes, how to set it? GUI_SetOrg () function does not give results (LCD_X_SETORG does not go).
If configured as
and cause hardware scrolling is working.
If
does not work. GUI does not draw in the second area.
Initial LCD_Conf:
C Source Code
- void LCD_X_Config(void) { GUI_DEVICE * pDevice;
- CONFIG_FLEXCOLOR Config = {0};
- GUI_PORT_API PortAPI = {0};
- pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_M565, 0, 0);
- LCD_SetSizeEx (0, XSIZE_PHYS , YSIZE_PHYS);
- LCD_SetVSizeEx(0, VXSIZE_PHYS, VYSIZE_PHYS);
- Config.Orientation = GUI_MIRROR_Y | GUI_MIRROR_X;
- 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, &PortAPI, GUIDRV_FLEXCOLOR_F66720, GUIDRV_FLEXCOLOR_M16C0B16);
The post was edited 1 time, last by kostprof21 ().