-
Notifications
You must be signed in to change notification settings - Fork 651
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
Can't compile latest? #51
Comments
bitRead is part of the Arduino libs. I only used it for extra readability, but will get rid of it. |
I hope 1906097 resolves this |
Now it compiles but I can't send or receive RF signals. Investigating. |
I just verified that it works with my old fork, so something has taken the turn for the worse recently :( |
It works all the way up to commit 90d00c1 |
Got it! The for-loop at RCSwitch.cpp:478 sends the bits in the wrong order, it should send MSB first. |
Just me?
~/utils/433Utils/RPi_utils $ make
g++ -DRPI -c -o ../rc-switch/RCSwitch.o ../rc-switch/RCSwitch.cpp
../rc-switch/RCSwitch.cpp: In member function ‘void RCSwitch::send(long unsigned int, unsigned int)’:
../rc-switch/RCSwitch.cpp:493:26: error: ‘bitRead’ was not declared in this scope
: recipe for target '../rc-switch/RCSwitch.o' failed
make: *** [../rc-switch/RCSwitch.o] Error 1
The text was updated successfully, but these errors were encountered: