sunMoon
sunMoon copied to clipboard
arduino library to calculate moon day and sunrise and sunset times
Fix sunrise.ino due to DS3232RTC library change and auto-format code. DS3232RTC was changed and the example did not work. This adds the necessary lines to make the example work again.
Hi, I need to use ezTime lib instead of TimeLib. I modified the sunMoon.h header: `#ifndef _SUN_MOON_H #define _SUN_MOON_H #include #include class sunMoon { ` and supposed that it will...
``` #include #include #include #define OUR_latitude 22.5726723 // Moscow cordinates #define OUR_longtitude 88.3638815 #define OUR_timezone 330 // localtime with UTC difference in minutes sunMoon sm; void setup() { tmElements_t tm;...
For my arduino code I needed the ability to change the zenith for the sunrise/sunset in order to determine different twilight times. I also needed the ability to show certain...