Simple programm for AVR ATmega8 - timer on quartz crystall.