Anybody know of any C code which will calc sunrise/sunset based on date, lat/long?
I'm using some old code in my one-wire/x10 system and it was written long ago and is 5-10 minues off....
I'm looking for source code, and not a utility. I need to call a function like GetSunrise(day,month,lat,long).
Thanks in advance..
you can email me at homeauto at usandthem dot com