title: How can I convert uint8_t and uint16_t into floats in c++?
body: <p>I created uint8_t and uint16_t variable types and read values into them from some registers. But, I'm unsure if I can easily cast these into float, and if the conversion will make numeric sense.</p>
  
  <p>What is the optimal way to cast uint8_t, and uint16_t, into float?</p>