SPI.h is missing in the examples
-
Hi guys, I have an arduino 1.6.5 ide installed with mysensors at the newest master version (using git). Never had any problems compiling the mysensors example sketches. Today I tried to use the motionsensor example and got an exception saying that:
fatal error: SPI.h: No such file or directory #include <SPI.h>
Its found in the in the RF24 files of the Mysensor Lib. When I manually add the import in my sketch it works without a problem. Has something changed recently or is there some problem with my installation?
-
@LastSamurai looks like there was a bug in thr Arduino IDE, see https://github.com/mysensors/MySensors/issues/601
Try upgrading the IDE and see if it helps.
2 out of 2
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 26 days ago -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23