Hello everyone;
I'm using a STM32F4-DISCOVERY BOARD, when i'm trying to send datas over hal uart it only sends ASCII types of datas but in my project i must send binaries, strings, floats, chars kind a all of the data types. But as i mentioned it only sends ASCIIs. I need help :(
Thanks for your attention.
HAL_UART_Transmit(&huart2, (uint8_t *)charArray, strlen(charArray), 10); **** This is the code which i'm using
.
No, that's not true: It just sends bytes - it neither knows nor cares what those bytes represent.
See, for example: community.st.com/.../187387-sending-integers-over-usart-as-ascii-characters-using-hal-libraries
(however, strlen does only work for NUL-terminated strings)
Note that none of this has anything to do with Keil.