int RA=5,OA=6,VA=7,RB=8,OB=9,VB=10;
void setup(){
pinMode(RA,OUTPUT);
pinMode(OA,OUTPUT);
pinMode(VA,OUTPUT);
pinMode(RB,OUTPUT);
pinMode(OB,OUTPUT);
pinMode(VB,OUTPUT);

}

void TL(int a,int b,int c , int d, int e, int f, int g){
digitalWrite(RA,a);
digitalWrite(OA,b);
digitalWrite(VA,c);
digitalWrite(RB,d);
digitalWrite(OB,e);
digitalWrite(VB,f);
delay(g);
}
void loop(){
TL(0,0,1,1,0,0,2000);
TL(0,1,0,1,0,0,500);
TL(1,0,0,0,0,1,2000);
TL(1,0,0,0,1,0,500);

}