B2 byte
besumetz opened this issue · 1 comments
besumetz commented
file src/midea_ir.c, line 29 (comments).
1010 0010 is actually 0xA2, not 0xB2.
uzlonewolf commented
The comment binary is wrong, the constant is 0xB2. Should be: 1011 0010 - (0xB2) is a constant
Also, the "strange Midea AirCon values" is just a Gray code (reflected binary code) https://en.wikipedia.org/wiki/Gray_code