Alternative to TimeLord library available?

Hi all,

I hope this is a quick question with a quick answer, so here goes:

Short version: does anyone have the instructional .pdf for the timelord library? Or know of an alternative library that does have instructions?

Long version: (it's the internet so you often have to give the long version just to help stop unhelpful answers like "just use an LDR" etc.

I'm making a portable sunset countdown timer and looked for a library to do all the complicated maths for me based on latitude, longitude and time (my project already has GPS....so that's easy to acquire). I then discovered that the "timelord" library does it all for me as required!

The only problem is that it's no longer hosted on the creators site: http://swfltek.com/arduino/timelord.html

I did however manage to find the complete library elsewhere after a google search: https://code.google.com/p/acuarino/downloads/detail?name=timelord.zip&can=2&q=

The problem is I now can't find any instructions on how to use it correctly. I've found lots of sketches that use it, and I can piece little bits together. But the original PDF instructions would be a lot better for me.

And as for the "newer" version that the creator points to: http://swfltek.com/arduino/builds/ I've been trying to work out where the library is, but keep ending up cross-eyed :(

If anyone can point me in the direction of the instructions for timelord, an alternative, or how to use the avr-libc thingies, it would be greatly appreciated.

Thanks

does anyone have the instructional .pdf for the timelord library?

What is the timelord library? Why aren’t the examples and source code enough? Why does the instructional manual need to be in pdf format?

I’ve been trying to work out where the library is, but keep ending up cross-eyed

There is a link at the bottom of that page to the 1.6.5 version. That tales you to a page where there are links for various operating systems. (Why is mystery to me; Arduino libraries are not supposed to be dependent on system libraries or build paths or …). Which OS do you have?

This smells like a virus for you to download.

Look somewhere else. https://codebender.cc/library/TimeLord#TimeLord.h

PaulS: What is the timelord library?

A library to compute amongst other things the time of sunset and sunrise based on location and time.

PaulS: Why does the instructional manual need to be in pdf format?

It's what format they were originally provided in by the creator. I'll gladly use them in any format of course, but I doubt people have converted them.

PaulS: Why aren't the examples and source code enough?

All the sketches I find lack enough useful annotations to allow me to understand the library enough for me to extract what I need from it. Things like the syntax required for data entry into it etc. This gets further compounded when the example bounces data through 2 libraries not used or installed by me before even entering it into Timelord.

As for O.S. Windows 7, but like you said, why I end up needing to select an O.S. and a 140MB download for an Arduino library is confusing.

All the sketches I find lack enough useful annotations to allow me to understand the library enough for me to extract what I need from it. Things like the syntax required for data entry into it etc.

The code in the link that mistergreen posted looks straight-forward enough. What function do you want to call, that you don't understand how to call?

Does that code match what you have?

It took me a long time to get it working but eventually I got there. There was no particular function I was having trouble with, it was the learning the library in general haha.

In case it helps anyone, the now defunkt instructions are still available from the original author here:

http://swfltek.com/arduino/timelord_library_deprecated.pdf