A story of me solving a problem in a complicated way, just to find out that things werent THAT hard! I have learned a thing or two in the process so it's not that bad.
You can read how to calculate:
- sun info
- if its a night time
- store it all as global variables
- and learn from my mistakes!
Read more: https://wp.me/p7qFRY-2QQ
Thank you for your support.