This program is producing 2 rectangular pulses, I need to regulate phase between them (between A and B ).
HTML Code:
void setup()
{
Serial.begin(9600);
TCCR2A = 0x00; //always reset
TCCR2B = 0x00; //always reset
TCCR2A = (1<<COM2A1)|(1<<COM2B1) | (0<<WGM21)|(1<<WGM20); //Mode-1
TCCR2B = (1<<CS22)|(1<<CS21)|(0<<CS20)|(0<<WGM22); //Mode-1 and prescale 256
pinMode(11, OUTPUT); //Ch-A
pinMode(3, OUTPUT); //Ch-B
}
void loop()
{
}

Actually this sounds like a shift register!
Comment