AnsweredAssumed Answered

Sending integer values through UART (STM32L0R8) (HAL drivers)

Question asked by tirlioglu.anil on Jun 26, 2016
Latest reply on Jun 26, 2016 by Clive One

i am trying to send integer values from my nucleo board to my pc by using UART, i.e. you can take that sensor values. The UART example "UART_TwoBoards_ComPolling" in the stm32Cube that uses HAL libraries, only sends strings.

data to send defined like this 

uint8_t aTxBuffer[] = " ANIL TIRLIOGLU";
and function to send data is like this :

HAL_UART_Transmit(&UartHandle, (uint8_t*)aTxBuffer, TXBUFFERSIZE, 5000);

How can i send something like 

uint8_t  TxBuffer = 111;