EasyManuals Logo

STMicroelectronics STM8 User Manual

STMicroelectronics STM8
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #103 background imageLoading...
Page #103 background image
ch = UART1_ReceiveData8();
LCD_goto(7, 1);
LCD_putchar(ch);
UART1_ClearFlag(UART1_FLAG_RXNE);
UART1_SendData8(i + 0x30);
}
In the second part, we are checking if the last data was sent from our STM8 micro. The data sent is
then displayed on LCD.
if(UART1_GetFlagStatus(UART1_FLAG_TXE) == FALSE)
{
LCD_goto(7, 0);
LCD_putchar(i + 0x30);
i++;
}
Please note that both of these flags are very important.
Demo
Video link: https://youtu.be/uo2tYDUnMmE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM8 and is the answer not in the manual?

STMicroelectronics STM8 Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM8
CategoryMicrocontrollers
LanguageEnglish

Related product manuals