2022-12-15 01:27 AM
to see my data on python what library or code should I use in STM32(CubeIDE) ? Could you share with me example!
Solved! Go to Solution.
2022-12-19 02:59 AM
Hello @MFara.4 ,
There is no ready to use example or library as far as I know.
you should know that HAL_UART_Transmit() does not send ASCII, it sends whatever bytes in the buffer...So you need to convert the variable that you are reading in Ascii Char to display it in any terminal. and then transmit it with HAL_UART_Transmit.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-12-15 01:35 AM
You keep asking basically the same question.
Print the data as ASCII to the UART, connect to the COM or TTY device on the PC running your Python code, and ingest the lines of data.
2022-12-19 02:59 AM
Hello @MFara.4 ,
There is no ready to use example or library as far as I know.
you should know that HAL_UART_Transmit() does not send ASCII, it sends whatever bytes in the buffer...So you need to convert the variable that you are reading in Ascii Char to display it in any terminal. and then transmit it with HAL_UART_Transmit.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.