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
-
💬 Single board computer UPS
OpenHardware.io • 3 Apr 2018, 14:11 • openhardware.io 28 Jul 2018, 12:33 -
connecting existing alarm system to veralite/ mysensors
General Discussion • 24 Jan 2015, 01:32 • brettzky84 24 Jan 2015, 02:58 -
💬 Epi 32U4 Arduino-compatible, 4-layer version
OpenHardware.io • 4 Feb 2023, 13:41 • openhardware.io 4 Feb 2023, 13:41 -
💬 Franzininho
OpenHardware.io • 24 Apr 2017, 18:51 • openhardware.io 7 May 2017, 22:58 -
ioBroker / NEW Controller Development / collection of FEATURES you/we need
My Project • 1 Feb 2016, 12:46 • maxtox 21 Mar 2016, 19:28 -
Creating a wireless fingerprints sensor !
Hardware • 12 Feb 2017, 18:42 • Ziip 24 Feb 2017, 20:14 -
Gateway for Pachube Or Mysql Database
Feature Requests • 11 Jul 2014, 13:23 • legeantvert 29 Aug 2014, 14:24 -
💬 Hematuria Meter
OpenHardware.io • 31 Oct 2022, 06:41 • openhardware.io 31 Oct 2022, 06:41