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

Can't install #12

Open
jordiigarciaa opened this issue May 13, 2018 · 1 comment
Open

Can't install #12

jordiigarciaa opened this issue May 13, 2018 · 1 comment

Comments

@jordiigarciaa
Copy link

RCSwitch.cpp: In member function 'void RCSwitch::enableReceive()': RCSwitch.cpp:448:43: error: 'INT_EDGE_BOTH' was not declared in this scope wiringPiISR(this->nReceiverInterrupt, INT_EDGE_BOTH, &handleInterrupt);

RCSwitch.cpp: In static member function 'static void RCSwitch::handleInterrupt()': RCSwitch.cpp:568:22: error: 'micros' was not declared in this scope long time = micros();

You can update the code: https://github.com/r10r/rcswitch-pi/blob/master/RCSwitch.cpp

Thanks!

@ali-tafakkori
Copy link

+1

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