Code:
 
DDRB = (1<<PB2); 
TCCR1A = (1<<COM1B1)|(1<<WGM10)|(1<<WGM12);
TCCR1B = (1<<CS10);
OCR1B = 128;
Das wäre so ein Beispiel

Gruß Sebastian