norbert-walter/esp32-nmea2000-obp60

Add sunrise and sunset time for clock page

Closed this issue · 1 comments

Add sunrise and sunset time for clock page

here my POC, built into PageClock. Works fine even at exotic locations with exotic timezones.
Code added for simulation and holdvalues, but that's completely untested ...
note changes to config.json and platformio.ini!

fixIssue_24.zip

This modification just demonstrates usage and function of the lib. SunS and SunR calculation should be placed somewhere else. They are required only once an hour (or even less) and must be available to optionally trigger display backlight.