Sunrise / sunset code based on location
Re: Sunrise / sunset code based on location
How would I incorporate your moon class into it lnevo.....thanks for your help.
Re: Sunrise / sunset code based on location
Sweet....thank lnevo. Will try it out tonight when i get home.
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Re: Sunrise / sunset code based on location
So everything is working correctly with my sketch, Sunrise/sunset, Weather and moon phases. Although i've noticed that the sunrise/sunset times don't really change but by +/- 2 minutes. Is that normal for the most part? My Long/Lat is set to the GBR between Paul Reef and Storm Reef off of Queensland,AU.
sl.Init(-21.285833, 150.999722); // In decimal numbers (i.e. -18.285833, 147.699722)
sl.SetOffset(11,0,11,0); // rise_hour, rise_seconds, set_hour, set_seconds
sl.Init(-21.285833, 150.999722); // In decimal numbers (i.e. -18.285833, 147.699722)
sl.SetOffset(11,0,11,0); // rise_hour, rise_seconds, set_hour, set_seconds
Re: Sunrise / sunset code based on location
Yep, try tracking it over the course of a month or two. Area's closer to the equator are going to have the smallest amount of shift daily as the fluctuation is only going to be +/- 2 hours or so over the course of the seasons.
Re: Sunrise / sunset code based on location
Ok, thanks for the clarification lnevo. Love everything you guys have done with coding and everything else.
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Sent from my SAMSUNG-SGH-I717 using Tapatalk