ASTRO_CLOCK?
jjames
Posts: 2,908
Could someone post an example for the usage of ASTRO_CLOCK? Should I put this in define_program? I need sunrise & sunset times everyday to manage some lighting controls.
0
Comments
http://www.amx.com/products/i!-TimeManager.asp
You get a button event when Sunrise or Sunset time has been reached. (Of course you got to make sure your latitude/longitude settings are correct)...
// full code
Much appreciated!
and then down in your code...
The latitude and longitude are for Charleston, SC You have to convert Latitude and Longitude values from minutes and seconds to decimal.