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

Negative numbers due to higher-bit signals #63

Open
maresb opened this issue Dec 24, 2018 · 3 comments
Open

Negative numbers due to higher-bit signals #63

maresb opened this issue Dec 24, 2018 · 3 comments

Comments

@maresb
Copy link

maresb commented Dec 24, 2018

While running RPi_utils/RFSniffer I get negative numbers from my remote:

Received -1550055680

If I instead use pigpio as per the instructions on sending rf codes with pigpio, I see that it is a 32-bit code which was not being correctly read:
code=2325481216 bits=32

I can transmit the correct code if below the line tx=_433.tx(pi, gpio=TX) I add the line:

tx.set_bits(32)
@kiki51
Copy link

kiki51 commented Oct 18, 2019

I maresb.

I have the same issue using my remote and the rfsniffer command.

Have you find a solution ?
The code sent by the codesend command is good or bad?

Thanks in advance

@maresb
Copy link
Author

maresb commented Oct 22, 2019

@kiki51 I don't remember whether or not codesend works properly with 32-bit codes. I recommend switching to pigpio if that is possible for you.

@SiberaIndustries
Copy link
Contributor

I had the same issue and fixed it in #81 or check it out here

Also related to #66 or #80

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

3 participants