Code for automated chicken door opener with DS1307 RTC