Associate III
July 23, 2020
Question
Function for printing values
- July 23, 2020
- 7 replies
- 4975 views
Hello,
I'm working with the NUCLEO-F722ZE EVB on STM32CubeIDE.
I want to use the main USB connection to the PC as a UART.
The default CubeMX pin configuration already has PD8 and PD9 configured as a UART, so I proceeded with code generation (the auto generated main.c file is attached).
What's the recommended function I to print characters to the PC terminal over the UART ?
For example, if I want to send: "Hello World".
What would be the code for it ?