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
-
💬 My Slim 2AA Battery Node
OpenHardware.io • 8 Jan 2016, 13:44 • openhardware.io 14 Dec 2020, 19:09 -
💬 ESP-LINK ESP8266 WeMos D1 Mini Adapter Board
OpenHardware.io • 7 Nov 2016, 17:03 • openhardware.io 9 Feb 2017, 04:56 -
Arduino & Microsoft Competition
General Discussion • 22 Jan 2016, 07:09 • Samuel235 25 Jan 2016, 05:17 -
💬 Anna2040 RP2040 Uno-shaped board
OpenHardware.io • 25 Nov 2022, 18:24 • openhardware.io 25 Nov 2022, 18:24 -
Help moving files between Arduinos using RF24
General Discussion • 20 Nov 2015, 15:12 • trout_lady 20 Nov 2015, 19:58 -
💬 Easy Switch Box
OpenHardware.io • 14 Dec 2022, 20:57 • openhardware.io 14 Dec 2022, 20:57 -
Weather station DHT22, BMP185, SI1145
My Project • 13 Sept 2014, 14:01 • jesse 21 Sept 2016, 17:04