March Madness/Day 23
From Hackypedia
When i built my micromouse, i diddnt have any spare ADC pins for a low voltage monitor, and so i've accidentally killed a few batteries by using them until they're completely flat.
This program runs on an attiny13, and monitors an ADC. If the voltage gets too low, it sends an interrupt to the main MCU on the micromouse, which turns off the motors & leds and switches the microcontroller to 'sleep' mode.

