Story 1: software for power supply on atmega8