Skip to content

Calculate sunrise, set times, twilights, wait for any such events, and poll whether it is day or night.

License

Notifications You must be signed in to change notification settings

joxda/libsunwait

Repository files navigation

libsunwait

This is a port to a C++ library of the sunwait executable (licencsed under the GPLv3) written by Dan Risacher based on codes by Paul Schlyter and with contributions of others mentioned in the original code ( https://github.com/risacher/sunwait ) It provide a class with functions to wait for sunrise and set, poll whether it is day or night, list sunrise and set times. Instead of sunrise or set corresponding twilight times can be considered, as well as times offset by a fixed amount from any of these.

API documentation

https://joxda.github.io/libsunwait/doc/

About

Calculate sunrise, set times, twilights, wait for any such events, and poll whether it is day or night.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published