LowPowerLab Forum

Hardware support => RF - Range - Antennas - RFM69 library => Topic started by: paulmalko on July 09, 2020, 12:24:37 PM

Title: RFM69/Target.ino won't compile
Post by: paulmalko on July 09, 2020, 12:24:37 PM
When I compile the Target sketch, I'm getting the following compiler error:

C:\Users\paul\Documents\Arduino\libraries\RFM69_LowPowerLab\RFM69.cpp:30:12: fatal error: LowPower.h: No such file or directory
   #include <LowPower.h> //http://github.com/LowPowerLab/LowPower
            ^~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Moteino(-USB).


I don't see LowPower.h as one of the choices within arduino library manager.

Help.

Paul
Title: Re: RFM69/Target.ino won't compile
Post by: sparky on July 09, 2020, 01:35:35 PM
LowPower library can be downloaded from here:

https://github.com/LowPowerLab/LowPower (https://github.com/LowPowerLab/LowPower)

If you have already done so possibly you didn't remove the -master from the directory name in IDE?  The directory name has to be the same as the h filename (LowPower)
Title: Re: RFM69/Target.ino won't compile
Post by: paulmalko on July 09, 2020, 02:26:55 PM
Thanks.  I didn't recognize that I had to add the library manually.  I guess I've been spoiled by the Library Manager.
Paul
Title: Re: RFM69/Target.ino won't compile
Post by: LukaQ on July 10, 2020, 12:20:50 AM
you can add it in Library Manager also
Title: Re: RFM69/Target.ino won't compile
Post by: paulmalko on July 10, 2020, 09:49:58 AM
Searching for "LowPower" in the search bar didn't bring anything up.
Title: Re: RFM69/Target.ino won't compile
Post by: Felix on July 11, 2020, 04:27:27 PM
Yes it needs to be added manually, i should make a note to myself to set this up to be pulled from the IDE library.