ctviggen1 Posted April 3, 2021 Share Posted April 3, 2021 I have this program: I want this to turn the LED off at sunset, but turn it on again at sunrise. The problem: the LEDs are always off. They never turn on. Is my program wrong? Link to comment
mwester Posted April 3, 2021 Share Posted April 3, 2021 From Sunset to Sunrise on the same day -- that'll never happen, because the next sunrise will always be on the next day. Link to comment
ctviggen1 Posted April 3, 2021 Author Share Posted April 3, 2021 Very good point, as I hit myself in the forehead with my hand. I'll try this: Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.