10 years, 8 months ago.

RCSwitch with Arch Pro error

I get these errors while running build using RCSwitch library on Seeed Arch Pro: Error: Class "mbed::InterruptIn" has no member "enable_irq" in "RCSwitch/RCSwitch.cpp", Line: 639, Col: 9 Error: Class "mbed::InterruptIn" has no member "disable_irq" in "RCSwitch/RCSwitch.cpp", Line: 648, Col: 9 thanks for any help!

Gary

PS Thanks Chris for the port, I used RCSwitch on my last mega2560 project, works great!

Question relating to:

Can you supply your code, it builds fine with the 5 line program I just put together to test it.

posted by Andy A 09 Feb 2015

1 Answer

10 years, 8 months ago.

Make sure your mbed library is up to date: Right click on your mbed lib, click update. Then it should work.

Accepted Answer

Probably a good habit, to get into.

Thanks, Gary

posted by Gary Schultz 09 Feb 2015