I am trying to design a soak system to avoid dairy cows getting stressed. The main objective is to soak cows back and to provide an evaporative cooling through fans installed in the barn.
I am reading DS1307RTC library and I don´t find a way to arduino read hour intervals, like,
if time it´s between 4a.m. and 10:a.m, then do something.
If the code could be written using delay(), it would be simpler, but I need the code getting temperature, waiting for buttons being pushed down while sketch is running.
I don´t find how to make arduino recognize hour intervals with Real time clock.. Someone have an idea?