Sensebender Gateway GatewayW5100 Sketch Compile Issue - No sam.h file
-
Hi, just fired up my newly purchased Sensebender GW and connected to my PC running Windows 10. Shows up as a USB Serial Device.
Installed in Arduino IDE 1.6.7 the following
Arduino SAMD Boards 32-bits ARM Cortex-M0+ vers 1.6.14
MySensors SAMD Boards vers 1.0.5When I try to compile the stock standard GatewayW5100 sketch I get
C:\Users\David\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.14\cores\arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory.
I have noticed that in the Sensebender GW webpage I read that
"be aware that Mysensors board files 1.0.4, is only compatible up to Arduino SAMD 1.6.11." I have tried downgrading to 1.04 and 1.6.11 but this did not help.Can someone point me in the right direction please?
TIA Dave
-
Have you tried a newer Ide version? And look in board manager if new definitions are there
-
Thanks gohan, Reloaded Arduino IDE 1.8.2 and it now compiles without any problems and have it reporting temp and humidity to Domoticz. The reason I downgraded the Arduino IDE version was I had an Arduino Uno setup as a gateway but it would constantly disconnect and the solution I found on the forum was to use an earlier IDE version.
Cheers.
-
Other times it is just enough to downgrade avr boards leaving IDE to newest version.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 19 Mar 2025, 21:00 • bocalexandru 21 Mar 2025, 12:05 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 28 Mar 2025, 12:28