Other Parts Discussed in Thread: BOOSTXL-EDUMKII
I am trying to use LCD display (from Booster PACK) based on ccs examples (NO RTOS). But when I am testing the display shows only noise (photo).
If I upload the example then it is working (for check i have not issue with the harware).
Do you any idea about what I am doing bad?
Best regards,
The code of my task:
void *thirdThread(void *arg0)
{
/*
* Main function
/* Graphic library context */
Graphics_Context g_sContext;
/* Initializes display */
Crystalfontz128x128_Init();
/* Set default screen orientation */
Crystalfontz128x128_SetOrientation(LCD_ORIENTATION_UP);
/* Initializes graphics context */
Graphics_initContext(&g_sContext, &g_sCrystalfontz128x128, &g_sCrystalfontz128x128_funcs);
/* */
Graphics_setForegroundColor(&g_sContext, GRAPHICS_COLOR_RED);
Graphics_setBackgroundColor(&g_sContext, GRAPHICS_COLOR_WHITE);
//GrContextFontSet(&g_sContext, &g_sFontFixed6x8);
Graphics_clearDisplay(&g_sContext);
Graphics_drawStringCentered(&g_sContext,
"TOUCH DOT TO CALIBRATE",
AUTO_STRING_LENGTH,
LCD_HORIZONTAL_MAX / 1,
LCD_VERTICAL_MAX / 1,
TRANSPARENT_TEXT);
while(1)
{
Graphics_drawStringCentered(&g_sContext,
"TOUCH DOT TO CALIBRATE",
AUTO_STRING_LENGTH,
LCD_HORIZONTAL_MAX / 2,
LCD_VERTICAL_MAX / 2,
TRANSPARENT_TEXT);
vTaskDelay(100);
}
}
