2019-07-02 05:00 AM
We are using STM32F401RE for our people counting project. We need to receive a value using UART reception and tried several methods. For transmitting we are using printf() function, for reception we have tried with HAL_UART_Receive() api but it didn't work. For reception, if we want to use scanf(), what changes we need to do? We are attaching the project file.
2019-07-02 05:25 AM
You'd likely need to implement an fgetc() function, and address the potential issue with the polled HAL USART functions blocking.
2019-07-24 09:47 PM
Since I am new to ST programming, Can you please explain how to implement an fgetc() function using HAL USART functions.