|
Post by anto2914 on Dec 7, 2020 2:37:09 GMT
I was looking tru adaptation while adjusting my background ambience lighting I changed 5 th digit on long coding module 17dashboard Can anyone tell me how to change back?
|
|
|
Post by dv52 (Australia) on Dec 7, 2020 6:02:12 GMT
anto2914 : Hi Unfortunately not much information in your post to go with!!
However, "the 5th digit on long coding module 17dashboard" is like this:
Long code is constructed with Bytes - each of which consist of 2 x digits (they are hexadecimal numbers). And, the first Byte in Long Code is always Byte 0 So the long code string looks like this - Byte0, Byte1, Btye 2............Byte 20. Therefore, since each Byte has 2 x digits, "the 5th digit on long code" is the first digit in Byte 2.
OK -now that we have found the correct Byte, we then need to find the correct Bit - so a little more explanation of number theory is needed:
The two digit Byte is expressed as a hexadecimal number in scans and back-up files when using OBD11, but these can also be converted to an equivalent Binary number. A Binary number is an 8 x digit number which is made-up from just ones and zeros. Each of the 8 x digits is called a Bit. A binary number has the following format: Bit7, Bit6, Bit5........Bit0 (notice that Bit0 is the extreme right-most digit).
The reason for expressing hexadecimal numbers in Binary format is because each of the Bits is like a mini software switch which is either switched-on, or off depending on whether the digit is one, or zero!
The way that the 2 x digits in the hexadecimal number is allocated to the Bits in the Binary number is like this:
- suppose the Byte value in hexadecimal is hexA9.
- The "A" is translated to the 4 x Bits on the left of the Binary number and "9" is translated to the 4 x Bits on the right (a bunch of 4 x Bits is called a "nibble" (Byte, nibble - get it? ).
- So the conversion is
hex"A"=1010 and hex"9"=1001
- Therefore hexA9=10101001
So, from the first part of the explanation, we know that "the 5th digit on long coding" is the first digit on Byte 2. From the second part of the explanation, we know that Byte 2 (and every Byte) has 8 x Bits. So we now also know that the first digit in Byte 2 refers to the 4 x Bits on the left of the Binary number, or said another way - Bit7, Bit6, Bit5 and Bit4
Alas that's as far as I can take you because you haven't disclosed the value of the 5th digit (I need to know both the before-change and after-change value of this digit to finish the explanation)
Don
|
|