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

RECEIVE_RC5 issue #4

Open
vgonet opened this issue Aug 24, 2019 · 0 comments
Open

RECEIVE_RC5 issue #4

vgonet opened this issue Aug 24, 2019 · 0 comments

Comments

@vgonet
Copy link

vgonet commented Aug 24, 2019

Hello,
I develop a project with a RC5 IR receiver on an ESP32-WROOM.

For example, if I press the button '8' on my remote control, I get the following sequence:

I (1227214) ir_receiver: Item 0: (0) 795ms, (1) 891ms
I (1227219) ir_receiver: Item 1: (0) 795ms, (1) 890ms
I (1227225) ir_receiver: Item 2: (0) 1641ms, (1) 882ms
I (1227231) ir_receiver: Item 3: (0) 792ms, (1) 889ms
I (1227237) ir_receiver: Item 4: (0) 792ms, (1) 888ms
I (1227242) ir_receiver: Item 5: (0) 793ms, (1) 888ms
I (1227248) ir_receiver: Item 6: (0) 793ms, (1) 888ms
I (1227254) ir_receiver: Item 7: (0) 794ms, (1) 887ms
I (1227259) ir_receiver: Item 8: (0) 793ms, (1) 1718ms
I (1227265) ir_receiver: Item 9: (0) 1642ms, (1) 882ms
I (1227271) ir_receiver: Item 10: (0) 792ms, (1) 888ms
I (1227277) ir_receiver: Item 11: (0) 793ms, (1) 0ms

My issue is that the items are not aligned on the bits. So I don't know how to decode each bit. Another thing, I don't understand why the code of the rc5_bit_one_if() is the same as rc5_bit_zero_if.

Thank you for your help and best regards.
Vincent

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

1 participant