Pin 9 and 10 with different duty cycles
After trying  a lot of things i got it working.
And even the contrast is working directly on the pwm signal.

#define F_CPU 16000000UL
#include &lt;avr/io.h&gt;
void main(void){
    DDRB = 0x06;
    OCR1A = 200; //Duty cycle for PB1 ~80%
    OCR1B = 100; //Duty cycle for PB2 ~40%
    TCCR1A = 0; //Set TCCR1A to zero. We will configure it manually
    TCCR1A |= (1 &lt;&lt; COM1A1) | (0 &lt;&lt; COM1A0) | ( 0 &lt;&lt; COM1B0) | (1 &lt;&lt; COM1B1);
    TCCR1A |= (0 &lt;&lt; WGM12) | (0 &lt;&lt; WGM11) | (1 &lt;&lt; WGM10); 
    TCCR1B = 0; //Set TCCR1B to zero. We will configure it manually
    TCCR1B |= (0 &lt;&lt; CS12) | (0 &lt;&lt; CS11) | (1 &lt;&lt; CS10);
    while(1){

    }
}