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
-
💬 Anna2040 RP2040 Uno-shaped board
OpenHardware.io • 25 Nov 2022, 18:24 • openhardware.io 25 Nov 2022, 18:24 -
💬 My Slim 2AA Battery Node
OpenHardware.io • 8 Jan 2016, 13:44 • openhardware.io 14 Dec 2020, 19:09 -
💬 Epi, tiny ATMega32U4 Arduino-compatible
OpenHardware.io • 8 Nov 2022, 19:08 • openhardware.io 8 Nov 2022, 19:08 -
Weather station DHT22, BMP185, SI1145
My Project • 13 Sept 2014, 14:01 • jesse 21 Sept 2016, 17:04 -
Reporting solar export power.
Hardware • 1 Jun 2020, 11:38 • terryrow 20 Jun 2020, 14:58 -
Arduino Power Supply
OpenHardware.io • 7 Jan 2016, 15:41 • openhardware.io 3 Feb 2016, 23:20 -
MySensors Mini Scene Controller
OpenHardware.io • 1 Mar 2016, 03:56 • openhardware.io 6 Sept 2016, 11:12 -
Assistance on sensor project
My Project • 29 Oct 2017, 15:31 • Sally Hayford 29 Oct 2017, 22:36