AnsweredAssumed Answered

stm32f429zı emwin issue

Question asked by Forever_Embedded on Aug 19, 2014
Latest reply on Aug 19, 2014 by Forever_Embedded
  I include emwin and FreeRTOS library and write GUI_Init(); function. I want to see 'hello world' on LTCD but didnt. firstly, I saw white screen after display has turned black increasingly. I'm giving code below. I would be glad if you could help.

#include "main.h"
#include "GUI.h"
#include "stm32f4xx.h"
#include "stm32f429i_discovery_lcd.h"
void TaskMask();
int main() 

     RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_CRC,ENABLE);
     TaskMask();
}
void TaskMask()
{     
     int xPos, yPos;
     GUI_Init();
     SDRAM_Init();
     GUI_Clear();
        GUI_SetFont(&GUI_Font8x15B_ASCII);
     GUI_SetBkColor(GUI_RED);
     GUI_DispStringAt("celalettin",4,5);
     xPos = LCD_GetXSize() / 2;
     yPos = LCD_GetYSize() / 3;
     GUI_SetFont(GUI_FONT_COMIC24B_ASCII);
     GUI_DispStringHCenterAt("Hello world!", xPos, yPos);
}


Outcomes