can't get program that uses time.h to compile - tried all forum suggestions

Please forgive my posting this subject again. I cannot get the Arduino IDE to compile a sketch that uses time.h, such as the examples in the Time folder. Tells me that the time functions are not declared.

Tried suggestions given in the forum.

  1. Tried current IDE, tried 1.0.6
  2. Copied library from Arduino playground and misc sources.
  3. I suspect that I have a bad time library...if that is the case, I need a link to a good library

I must be missing something very simple. I have been using various Arduinos for a couple of years; but, I feel like a newbee as I just can't get the examples to compile.

Could someone please offer some guidance.

Your patience is very much appreciated.

gives us

  • platform you have and compiling for
  • code you are trying to compile (exactly as it is in your IDE)
  • copy/paste the compilation process error you get

I cannot get the Arduino IDE to compile a sketch that uses time.h,

Do you perhaps mean Time.h ?

Where is the Time library installed and what files are in the library ?

I use
#include <TimeLib.h>

instead

I wrote a simple example to demonstrate my problem so I could provide clear info for assistance. The simple example did not work with the latest IDE and what I think are the latest libraries

  1. Found a folder with 1.5.2, including libraries
  2. Recompiled the simple example, it worked.
  3. Recompiled my application and loaded it
  4. All works now!

The application is an ethernet application, whereby a remote user can connect an antenna and turn a ham radio on, and connect to the radio. It disconnects everything after 20 minutes of no activity.

MANY THANKS TO ALL!

George Allen, K2CM

I wrote a simple example to demonstrate my problem

It illustrates nothing unless we can see it.

the latest IDE

Which version exactly ?

See post #1

We still miss the info. Why don't you just post?