Solved
Tesla DeLoreanBest answer
Guru
December 9, 2022
Yes, syntax is wrong for HAL_UART_Transmit(), it wants a POINTER, and will send a pair of raw bytes over the wire. Will look like random junk bytes in a terminal application.
HAL_UART_Transmit(&huart1, (uint8_t *)&readValue, sizeof(readValue), 100);
for human readable numbers
char string[10];
HAL_UART_Transmit(&huart1, (uint8_t *)string, sprintf(string, "%d\n", readValue), 100);
Post code in-line via </> icon, screen shots are unhelpful
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
