This library works very good for determining sunset/sunrise.
I use a photodiode to detect daylight/nightlight a lot more reliable over a LDR.
This library works very good for determining sunset/sunrise.
I use a photodiode to detect daylight/nightlight a lot more reliable over a LDR.