Microcontroller code to control an automatic pet feeder.