 # Help me make sense of these bits - part 2

i am trying to decode an air conditioner IR remote. and i could use some help understand how these bits are set i have 2 possible sets of data, depending on how the incoming data interpreted.

the bits changing with change in temperate are as follows. i need someone to suggest how these values could be interlinked.

``````1111    at 17
1110    at 18
1100    at 19
1101    at 20
1001    at 21
1000    at 22
1010    at 23
1011    at 24
0011    at 25
0010    at 26
0110    at 27
0111    at 28
0101    at 29
0100    at 30
``````

alternatively those bits could also be

``````0000    at 17
0001    at 18
0011    at 19
0010    at 20
0110    at 21
0111    at 22
0101    at 23
0100    at 24
1100    at 25
1101    at 26
1001    at 27
1000    at 28
1010    at 29
1011    at 30
``````

Gray Code?

the first few values are similar to grey code. however there is some inconsistency in the last 4 values

``````1001    at 27
1000    at 28
1010    at 29
1011    at 30
``````

the code does not match the grey code Truth table.

any ideas?

Damn, I thought I had the pattern. gotten want mask actual 0000 at 17 ^ 0 = 00010001(17 HEX) 0001 at 18 ^ 0 = 00010010(18 HEX) 0011 at 19 ^ 1 = 00010011(19 HEX) 0010 at 20 ^ 1 0110 at 21 ^ 2 0111 at 22 ^ 2 0101 at 23 ^ 3 0100 at 24 ^ 3 1100 at 25 ^ 4 1101 at 26 ^ 4 1001 at 27 ^ 3 1000 at 28 ^ 3 these here are what mess it up, it should be ^ 5 1010 at 29 ^ 6 1011 at 30 ^ 6

Yeah, looks like one group is just the inverse of the other.

0000 at 17 ^ 0 = 00010000(10 HEX) + 1 = 17 dec 0001 at 18 ^ 0 = 00010001(11 HEX) + 1 = 18 dec 0011 at 19 ^ 1 = 00010010(12 HEX) + 1 = 19 dec 0010 at 20 ^ 1 = 0110 at 21 ^ 2 0111 at 22 ^ 2 0101 at 23 ^ 3 0100 at 24 ^ 3 1100 at 25 ^ 4 1101 at 26 ^ 4 1001 at 27 ^ 3 1000 at 28 ^ 3 There must be a better way to get this part. 1010 at 29 ^ 6 1011 at 30 ^ 6 = 00011101(29 HEX) + 1 = 30

those bits seem rather problematic. =( i checked to see if i made some error, but doesn't seem like it.

bump. could use some ideas.