Messy code to power my fish feeder. It will hardly work for anyone else....