MySensor.h error
-
Hi Everybody,
What's wrong with this library? I'am trying everything (replacing the IDE, the library, type of board, etc) without success.
Could any one help me?
Thank you very much!
Nicolas**Arduino:1.6.9 (Windows 10), Tarjeta:"Arduino/Genuino Uno"
C:\Users\Nicolás RodrÃguez To\Documents\Arduino\IrrigationController\IrrigationController.ino:88:22: fatal error: MySensor.h: No such file or directory
compilation terminated.
exit status 1
Error compilación en tarjeta Arduino/Genuino Uno.Este reporte podría tener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.**
-
@nicorodri did you install librairies as mentionned here in section "Installing the sensor libraries"
-
@nicorodri I ran into the same problem today, when I tried to compile the sketch in the API documentation. There might be a bug in that sketch. It's saying:
#include <MySensor.h>
Which should be:
#include <MySensors.h>
At least it got it working for me. Maybe @hek is able to verify the bug and adjust the example sketch stated here https://www.mysensors.org/download/sensor_api_20
-
the header file is renamed to MySensors.h now, to comply with the library name (which is MySensors)
I believe that the examples on github (here and here) should be changed to use the new file name..
-
@tbowmo glad that it's confirmed. I was beginning to think I'm getting crazy
-
@theol, Thanks, I'll update the main site accordingly.
Edit: done
-
@hek Thank you. Does this name change mean, that I can keep 1.5 and 2.0 beside eachother? Would be great and handy for the next couple of months/weeks
-
No, wouldn't recommend it. Besides the folder name was MySensors in 1.5.4 as well.
https://github.com/mysensors/MySensors/tree/1.5.4/libraries/MySensors
Suggested Topics
-
Code for beta-testing?
Controllers • 24 Mar 2014, 20:48 • andriej 9 Aug 2014, 10:44 -
Boards esp8266 v3.1.0 or Newer Doesn't Work with MySensors
Bug Reports • 21 Feb 2023, 01:55 • d-smes 25 Feb 2023, 19:37 -
Making WiFiManager compatible with MySensors 2.3.2
Bug Reports • 12 Feb 2020, 21:43 • pihome 1 Jun 2022, 16:02 -
sleep(0) in V2.1 doesn't sleep indefinitely anymore. Used to powerdown and sleep in V1.5
Bug Reports • 22 Nov 2019, 00:35 • GaryStofer 15 Apr 2023, 05:50 -
some differences between serial- and tcp-gateways.
Bug Reports • 15 Mar 2023, 09:26 • Branther 30 Mar 2023, 15:40 -
RFM95W sleep() directly after send() often doesn't sleep radio
Bug Reports • 1 Jan 2023, 18:41 • prawnpie 8 Jan 2023, 05:36