Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Development / Re: Time Library added to Playground on: November 07, 2010, 12:48:35 pm
Thanks for your reply!  I unpacked the archive again, opened the

TimeGPS example sketch with :  File->Examples->Time->Examples->TimeGps

and it still fails the same way.  Interestingly, I can see it's going to fail, because the Time.h in the sample code is all black in the editor, whereas the two found libraries, TinyGPS and NewSoftSerial are orange.

#include <Time.h>
#include <TinyGPS.h>    
#include <NewSoftSerial.h>  

I closed and re-opened the arduino ide, and still can see Time in the Sketch-Import Libraries menu.

Any help would be appreciated!
2  Forum 2005-2010 (read only) / Development / Re: Time Library added to Playground on: November 06, 2010, 08:12:12 pm
I am trying to use this library, and can't see to get past what appears to be a simple error, using Ard0021 on OS X.

I have unpacked the zip, and so now have

Sketches
  - Libraries
       - Time (dl from playground)
       - TinyGPS (was there already)
       - NewSoftSerial (was there already)

Sketches in the Sketches folder seem to have no problem using header files from the TinyGPS or NewSoftSerial folders, but whenever I try to include Time.h, I get this:

TimeGPS.cpp:7:18: error: Time.h: No such file or directory

The include line looks like this:

#include <Time.h>

I've reviewed the Arduino instructions several times, and can't see what I'm doing wrong.  Time.H is shown in the list of available libraries when I select Sketch - Import Library (along with NewSoftSerial and TinyGPS).

I copied the TimeGPS example to the Sketches folder, and it can find the TinyGPS and NewSoftSerial.h no problem (they turn orange in the editor), but can't find the Time.h, even though it's in the same place.  Time.h doesn't turn black.

I must be doing something wrong - can anyone point me in the right direction, please?
Pages: [1]