Sample Door SW does not compile !
-
Hello everybody,
I wish you a wonderful year 2015 .
I have a problem when I try to compile the "BinarySwitchSensor Example".
I receive the following message :In file included from /Users/guest/Documents/Arduino/MySensorGW/libraries/MySensors/MySensor.h:28,
from MySensorDoorSW.ino:4:
/Users/guest/Documents/Arduino/MySensorGW/libraries/MySensors/utility/RF24.h:51: error: ISO C++ forbids declaration of 'SoftSPI' with no type
/Users/guest/Documents/Arduino/MySensorGW/libraries/MySensors/utility/RF24.h:51: error: expected ';' before '<' tokenI currently work with the release 1.5.5 of the Arduino IDE
Somebody could help me ?
Thanks by advance
Alain
-
I can compile and use door sample from mysensor.
the difference is that i'm using old arduino ide 1.0.5, while you're using 1.5.5.
possible to change the ide ?
-
I compile the example sketch fine with IDE 1.5.7.
Do you have uncommented the #define SOFTSPI in RF24_config.h for some reason (eg programming your gateway)?. If so comment it back again.
Suggested Topics
-
Using Pin Change Interrupt (PCINT) for wakeup
Development • 3 Feb 2015, 11:55 • Dirk_H 11 Apr 2015, 18:37 -
Incorrect lighting of ws2811b led strips. Wemos D1 Arduino controlled
Hardware • 11 Jan 2020, 18:34 • Beeblebrox666 12 Jan 2020, 16:18 -
Can't send message over arduino serial monitor
Troubleshooting • 11 Dec 2014, 05:53 • botbite 28 Jan 2015, 20:55 -
Custom Interrupt routine for door sensor
Development • 11 Jan 2015, 16:27 • funksoulbrother 11 Jan 2015, 22:00 -
💬 Epi, tiny ATMega32U4 Arduino-compatible
OpenHardware.io • 8 Nov 2022, 19:08 • openhardware.io 8 Nov 2022, 19:08 -
💬 Arduino Pro Mini Shield for RFM69(H)W
OpenHardware.io • 2 Nov 2016, 18:10 • openhardware.io 24 Mar 2018, 11:45