6 Replies Latest reply on Jul 2, 2019 11:52 AM by Bob Marlowe

    I want to use UART to read number more than 1 digit

    DaCh_4286001

      My basic idea for this code is I will keep getChar from keyboard until I hit ENTER key.

       

      However, it is not working if I type 1 2 3 ENTER. It will stuck in while(UART_GetRxBufferSize() < size_start_num)  until I enter 3 more digits then '123' will appear in Tera Term

       

      Code is attached here

      Simon