LowPowerLab Forum

Hardware support => Moteino => Topic started by: hexibot43 on November 18, 2013, 05:39:10 PM

Title: Just getting started with Moteino but having trouble installing libraries.
Post by: hexibot43 on November 18, 2013, 05:39:10 PM
Hello Everyone,
     Feeling a bit stupid right now.  I'm very new to the Arduino as well as the Moteino.  I've done a lot of programming with PicChips but saw the Moteino and wanted to give it a try.  I've successfully uploaded a program to blink an LED onto the Moteino.  So I know I've got the Arduino software successfully installed on my windows 7 PC.  I wasn't as successful getting it up and running win Ubuntu.  I figure I'll work on that later.  I'm having trouble getting the libraries installed and working for the Moteino.  I've installed the "Narcoleptic" library without problem.  The Arduino IDE sees it and I am able to use it.  I don't seem to be able to get the IDE to recognize the files I've moved into folders for the Moteino.  I'm hoping if someone sees the error log I've included they'll see my error.  I was hoping to load two Moteinos using the Node, and Gateway programs.  I just need to get a simple temperature measurement to a program running on Raspberry PI.  Thanks,  Marcello   
Title: Re: Just getting started with Moteino but having trouble installing libraries.
Post by: hexibot43 on November 18, 2013, 07:20:39 PM
Is there a Zip for each of all the libraries SPIFLASH, and RFM69?  It seems when I've downloaded a zipped library and just unzipped it into the library folder everything works.  I've installed two other libraries successfully. 

I've got 5 files in my RFM69 folder. 

1. rfm69.cpp
2. rfm69.h
3. rfm69registers.h
4. readme.md
5. keywords.txt

Am I missing something?
Title: Re: Just getting started with Moteino but having trouble installing libraries.
Post by: john k2ox on November 18, 2013, 08:40:43 PM
Arduino's IDE looks in a specific location for the libs.  If you unzipped it to an arbitrary folder, then that's the prob.

Also,  you will need the 'SPI' lib.  I suggest you go to the Arduino web site and read about the libs.  It'll be pretty clear.  Where the library folders are located has changed with time and operating systems.

If you have installed(install) a new lib it won't show up if the IDE is running.  You need to close it and re-open it.

Regards,
john
Title: Re: Just getting started with Moteino but having trouble installing libraries.
Post by: Felix on November 18, 2013, 10:02:07 PM
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use/
Title: Re: Just getting started with Moteino but having trouble installing libraries.
Post by: hexibot43 on November 18, 2013, 11:28:07 PM
Thanks everyone.  Got it! :o
Title: Re: Just getting started with Moteino but having trouble installing libraries.
Post by: hexibot43 on November 19, 2013, 09:27:53 AM
     In the Git-hub entries of the libraries you will find on the right pane an option to "Download Zip".  Use that to get the files.  I missed this when I was first looking at the git-hub libraries.  And I didn't see any note to that effect when I was reading about all of this.  Hopes this helps someone else starting out.  I've got all the libraries working now.  The error messages you get when the libraries are missing sure weren't obvious. 

     I also found this very helpful. 

http://arduino-info.wikispaces.com/Arduino-Libraries (http://arduino-info.wikispaces.com/Arduino-Libraries)