I have to write the user manual for my new device. The device use a 320x240 LCD with ssd1289 controller.
I would like to post images of the screen in my documentation and I decided to dump the screen with the function GUI_BMP_Serialize.
Unfortunately I did not succeed. I get a bitmap file of just over 76KB which corresponds to a copy of the screen with 8 bit / pixel while my lcd has 16bit / pixel. (Also bitmap header field biBitCount = 8 ) The bitmap image is only a 320x240 black recatangle
My LCD initial configuration is:
pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_SSD1289, GUICC_M565, 0, 0);
and
GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66702, GUIDRV_FLEXCOLOR_M16C0B16);
I tried to follow the reading of LCD RAM and seems works properly but the program saves only the lower byte of 16-bit read from the display memory
My emwin version 52600 (ST precompiled library)
I would like to post images of the screen in my documentation and I decided to dump the screen with the function GUI_BMP_Serialize.
Unfortunately I did not succeed. I get a bitmap file of just over 76KB which corresponds to a copy of the screen with 8 bit / pixel while my lcd has 16bit / pixel. (Also bitmap header field biBitCount = 8 ) The bitmap image is only a 320x240 black recatangle
My LCD initial configuration is:
pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_SSD1289, GUICC_M565, 0, 0);
and
GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66702, GUIDRV_FLEXCOLOR_M16C0B16);
I tried to follow the reading of LCD RAM and seems works properly but the program saves only the lower byte of 16-bit read from the display memory
My emwin version 52600 (ST precompiled library)