title: Convert uint8_t array to uint16_t
body: <p>I have a uint8_t array that contains two elements:</p>
  
  <pre><code>uint8_t ui8[2]; // uint8_t array
  ui8[0] = 70; // LSB
  ui1[1] = 60; // MSB
  </code></pre>
  
  <p>I want to get a uint16_t number (not an array) from these two uin8_t values. I used this approach in order to get this result: <code>uint16_t ui16 = 6070</code></p>
  
  <pre><code>uint16_t ui16 = ui8[1] | (ui8[0] &lt;&lt; 8);
  </code></pre>
  
  <p>But I got <code>uint16_t ui16 = 15430;</code></p>
  
  <p>Am using the wrong method to get what I need? Or is there something missing?</p>