RFM69/Target.ino won't compile

Started by paulmalko, July 09, 2020, 12:24:37 PM

paulmalko

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

sparky

LowPower library can be downloaded from here:

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)

paulmalko

Thanks.  I didn't recognize that I had to add the library manually.  I guess I've been spoiled by the Library Manager.
Paul


paulmalko

Searching for "LowPower" in the search bar didn't bring anything up.

Felix

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.