Solved
This topic has been closed for replies.
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.