View Single Post
Old 12-22-2018, 08:50 PM
Overboost's Avatar
Overboost Overboost is offline
//Binary is in my DNA
Join Date: Apr 2006
Location: Huntersville, NC
Posts: 1,845
Overboost is on a distinguished road
Originally Posted by oldskewel View Post
Pardon my ignorance here. Just trying to learn, and am interested in this...

How can it be that you are not changing the checksum when you change other values. I thought maybe if the multiple changes were symmetric they might offset and the checksum would remain unchanged, but that does not appear to be the case with the new temperatures you chose. What obvious feature am I not understanding? Thanks.
We aren't changing any of the arrangement of the bytes in the lines of code, just the temperature values the angles of the gauge uses. We are simply changing the hexadecimal values that relate to temperature according to the gauge angle. The first byte dictates how many bytes in the line. The second byte is the first angle of the gauge, the third byte is the temp value for the first angle, the 4th byte is the second angle, the 5th is that temp value displayed on the second angle, etc.

So for 15C and below, the gauge is at the bottom. From 15C - 50C, it moves from 0 to 31; from 50 to 75C, it moves towards 90. From 75-115C it stays at that angle. From 115 to 124C it gets to 148, and then 125C onward it jumps to 164.

15C - 0; 60C - 31; 85C - 90; 95C - 90; 110C - 148; 115C - 164

The 22 page thread I posted from E46F is a good read that explains everything in detail.
Reply With Quote

Sponsored Links