2019-05-12 10:03 PM
I am using STM32F429ZI Nucleo Bord by using LTDC . I have already print a image on that by using this system peripheral but when I am going to print string on that it not print on screen. Please help .
my written code :--
BSP_LCD_Init();
BSP_LCD_LayerDefaultInit(LCD_BACKGROUND_LAYER,LCD_FRAME_BUFFER);
BSP_LCD_SelectLayer(LCD_BACKGROUND_LAYER);
BSP_LCD_Clear(LCD_COLOR_WHITE);
//BSP_LCD_SetTextColor(LCD_COLOR_BLACK);
BSP_LCD_DisplayStringAtLine(1,(uint8_t*)"hi");
BSP_LCD_DisplayStringAtLine(5,(uint8_t*)"HELLO");
These API are in attached ".c and .h" file
2019-05-13 04:36 AM
I am using inbuilt sram which start from 0x20000000 and lcd size is 320*240 and according to calculation required frame buffer size =2*( (320*240*2)/1024) { for 16bit } that is 300 (k byte).