title: STM32f sending uint16_t via uart
body: <p>im trying to send uint16_t data with this code</p>
  <pre><code>uint16_t ADCValue;
  uint8_t lowerMessage;
  uint8_t upperMessage;
  uint8_t message[2];
  
  while (1)
  {
        ADCValue = 2375;
        lowerMessage = (uint8_t)ADCValue;
        upperMessage = (uint8_t)(ADCValue &gt;&gt; 8);
        message[0]= lowerMessage;
        message[1]= upperMessage;
        HAL_UART_Transmit(&amp;huart1,message, 8, 1000);
        //HAL_GPIO_TogglePin(GPIOC, GPIO_PIN_9);
        HAL_Delay(2000);  
  }
  </code></pre>
  <p>i split the 16 bit integer to 8 bit integers to send. But when i try the send this i recieve this -&gt; <a href="https://i.stack.imgur.com/WU8eV.png" rel="nofollow noreferrer">Received Data</a>.
  What should i do to send this data?</p>