It works fine because I was candling every 7 days to observe the behavior of the chick as the incubation proceeds. I'm still very new here on a very sincere note I don't know how to add a video to a post yet. I have talked to my mentor (@starstrigs01) here if he can guild me through.
It is also possible to write a code without delay using Millis in order to multitask easily on a microcontroller but this project did not require such complexity
RE: SOLAR POWERED INCUBATOR