STemWin DispStringAt() doesn't work if called after a pause since the previous call.
Hi, all.
I'm using STM32H747I-DISCO.
I tried STemWinHelloWorld example, and "Hello world!" string was displayed on LCD properly.
I added EXTI IRQ. And I confirmed when EXTI IRQ occur, it went to EXTI15_10_IRQHandler.
Then I added proccess that display "How are you?" string in EXTI15_10_IRQHandler, as shown below.
void EXTI15_10_IRQHandler(void)
{
/* USER CODE BEGIN EXTI15_10_IRQn 0 */
/* USER CODE END EXTI15_10_IRQn 0 */
HAL_GPIO_EXTI_IRQHandler(GpioInt_Pin);
/* USER CODE BEGIN EXTI15_10_IRQn 1 */
GUI_DispStringAt("How are you?", (LCD_GetXSize()-100)/2, (LCD_GetYSize()-20)/4);
/* USER CODE END EXTI15_10_IRQn 1 */
}But when EXTI IRQ occur, "How are you?" string was not displayed on LCD, although it go to EXTI15_10_IRQHandler.
And I confirmed below action.
I added proccess that display "Fine!" string in MainTask() followed by GUI_Delay(1000), as shown below.
void MainTask(void) {
GUI_Clear();
GUI_SetFont(&GUI_Font32_1);
GUI_DispStringAt("Hello world!", (LCD_GetXSize()-100)/2, (LCD_GetYSize()-20)/2);
GUI_Delay(1000);
GUI_DispStringAt("Fine!", (LCD_GetXSize()-100)/2, (LCD_GetYSize()-20)/8);
while(1);
}Please tell me why GUI_DispStringAt() doesn't work if it's called after a pause since the previous call.
Thanks in advance.
Edited to apply source code formatting - please see How to insert source code for future reference.
