Hello
I want to read my car's brake temperature with CAN bus.
I can retrieve the data, but I can't find the equation to get the temperature.
SG_ BrakeTempFL3FE : 0|10@1+ (1,-40) [0|0]
SG_ BrakeTempFR3FE : 10|10@1+ (1,-40) [0|0]
SG_ BrakeTempRL3FE : 20|10@1+ (1,-40) [0|0]
SG_ BrakeTempRR3FE : 30|10@1+ (1,-40) [0|0]
For exemple : Data 34 D0 40 03 0D raw values : 0x34 0x34 0x34 0x34 = 12° 12° 12° 12°
34 D0 40 03 0D -> in little-endian 0D 03 40 D0 34
0000110100 0000110100 0000110100 0000110100
0x34 0x34 0x34 0x34
0x34 = 52 – 40 = 12°C
i tried this one but it doesn't work
BitsToUint ((bytesToUintLe(raw,0,5)),0,10)-40
Comments
the function did not exist yet, I will have to wait for version 7.1