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 -
some differences between serial- and tcp-gateways.
Bug Reports • 15 Mar 2023, 09:26 • Branther 30 Mar 2023, 15:40 -
Making WiFiManager compatible with MySensors 2.3.2
Bug Reports • 12 Feb 2020, 21:43 • pihome 1 Jun 2022, 16:02 -
ACK -aka ECHO beeing missed by Serial Gateway with RF24 radios. V2.3.2
Bug Reports • 15 Apr 2023, 06:27 • GaryStofer 21 Apr 2023, 17:34 -
NRF51-52 PA not support ???
Bug Reports • 23 Feb 2019, 16:40 • berkseo 8 Jul 2021, 11:42 -
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