I'm getting a CAN message 8 bytes length and that's it format
I'm getting Lat and Long as
a9 00 ff 0f 32 ff cf 7f
Hope I get a C code that interprets the value.
The expected values, 53.3, 10.0
I'm getting a CAN message 8 bytes length and that's it format
I'm getting Lat and Long as
a9 00 ff 0f 32 ff cf 7f
Hope I get a C code that interprets the value.
The expected values, 53.3, 10.0
That message you posted is hexadecimal, so it can be easily translated into values. Remembering that hex is a base 16 number, to convert to decimals we do for example:
cf = (12 * 16^1) + (15 * 16^0) = 12*16 + 15*1 = 207
The exponent is the position of the digit starting from the right, while the number that is multiplied by is the decimal equivalent of the hex.
More on hex here.