Firmware for an oscilloscope based on ATmega16 8-bit microcontroller.