arduino-libraries / SigFox

Helper library for MKRFox1200 board and ATAB8520E Sigfox module
19 stars 26 forks source link

PlatformIO (vscode) - basic examples not working with v1.0.5 #23

Closed mereshow closed 2 years ago

mereshow commented 3 years ago

Hi, when using PlatformIO in vscode and the library is installed it installs v1.0.5 by default (latest) it fails to compile giving the error:

.pio/libdeps/mkrfox1200/Arduino SigFox for MKRFox1200/src/SigFox.cpp:34:10: fatal error: ArduinoLowPower.h: No such file or directory

If the version 1.0.4 is installed, it compiles without error (without changing anything else).

per1234 commented 2 years ago

Hi @mereshow. This library has a dependency on the "Arduino Low Power" library. So you must make sure to also install that library:

https://registry.platformio.org/libraries/arduino-libraries/Arduino%20Low%20Power