#include<avr/io.h>
#include<avr/interrupt.h>
timer2_init() {
TCNT2 = 0;
TCCR2A = (1 << COM2B1) | (1 << WGM21) | (1 << WGM20);
TCCR2B = (1 << WGM22) | (1 << CS22) | (1 << CS21) | (1 << CS20);
OCR2A = 133;
OCR2B = OCR2A/2;
}
void main () {
DDRH |= (1<<PH6);
timer2_init();
while (1) {
}
}