Firmware for ATtiny13A based flashlight drivers