I use chip STM32L073RzTx and STM32F103C8 , compiler and IDE True Studio, HAL base coding, develop board stm32nucleo
I want using printf() in UART Communication
I used TDR register UART Communication good working but printf() don't working
now situation explain...
int fputc(int ch, FILE *f)
HAL_UART_Transmit (&huart2, (uint8_t*)ch, 1, 2);
add this code and using printf() in while() function
that code .. don't working
so, how to use printf() in UART Communication and teach me principal printf()
and I have another question.
I look at stm32nucleo board circuit that board uart line pass through another MCU and connect micro usb, so nucleo board recognize USB well on my computer.
but STM32F103C8 is cheap develop board in internet that circuit is direct tx, rx(USART Pin) ,vcc, gnd connected noting pass through, so... that is not recognizing...
so... how to use direct connected siation UART communication
English sentences are strange but thank you for reading them.