Shitty code is shitty code. I wrote far too much for the most basic task of turning a motor, waiting, turning it the opposite way, and wait again. That's what happens when you don't know what you're doing. But it works now with just a handful of lines compared to the wall of text before. Door opens at 7am and closes at 9pm thanks to delay(). K.I.S.S.
#homesteading #farming #coding #arduino #hive #peakd #dailyblog