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
-
💬 Hematuria Meter
OpenHardware.io • 31 Oct 2022, 06:41 • openhardware.io 31 Oct 2022, 06:41 -
Method to reveal sketch inside node or g/w
General Discussion • 19 Oct 2015, 01:36 • 5546dug 19 Oct 2015, 19:22 -
💬 MDMSNode "Lighting" Rev 1.1
OpenHardware.io • 27 Jul 2017, 06:45 • openhardware.io 30 Nov 2018, 11:56 -
Lua Startup Failure (*SOLVED*)
Vera • 30 Aug 2014, 03:16 • rafael.brasilia 19 Feb 2016, 08:36 -
💬 Anna2040 RP2040 Uno-shaped board
OpenHardware.io • 25 Nov 2022, 18:24 • openhardware.io 25 Nov 2022, 18:24 -
Arduino & Microsoft Competition
General Discussion • 22 Jan 2016, 07:09 • Samuel235 25 Jan 2016, 05:17 -
MySensors MQTT gateway and serial rs485 sensor node communication
Development • 5 Aug 2017, 06:31 • ehome 5 Aug 2017, 08:15