Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B2 byte #1

Open
besumetz opened this issue Jun 2, 2023 · 1 comment
Open

B2 byte #1

besumetz opened this issue Jun 2, 2023 · 1 comment

Comments

@besumetz
Copy link

besumetz commented Jun 2, 2023

file src/midea_ir.c, line 29 (comments).
1010 0010 is actually 0xA2, not 0xB2.

@uzlonewolf
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants