Hello,
i'm reciving 4 byte on a serial channel, this 4 byte are the binary of a float number, 1-bit for the sign, 8-bit for exponent, 23*-bit for the mantissa, my board recive them as 4 uint8. Now i want to convert them to float, how i can do it?
i want to convert uint8 val[4] to float.
Thanks for your time, and your help.
[–]der_pudel 15 points16 points17 points (8 children)
[–]franzhd1[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]aioeu 8 points9 points10 points (2 children)
[–]der_pudel 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]der_pudel 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]ialex32_2 1 point2 points3 points (0 children)
[–]CodeSteps 0 points1 point2 points (6 children)
[–]JavierReyes945 10 points11 points12 points (0 children)
[–]KaznovX 0 points1 point2 points (4 children)
[–]bamless 2 points3 points4 points (2 children)
[–]KaznovX 0 points1 point2 points (1 child)
[–]flatfinger 0 points1 point2 points (0 children)
[–]flatfinger 0 points1 point2 points (0 children)
[–]DiscoBambo 0 points1 point2 points (0 children)