#define VD_A 2
#define AM_A 3
#define VM_A 4
#define VD_B 5
#define AM_B 6
#define VM_B 7

void setup() {
pinMode(VD_A,OUTPUT); // terminal 2 (VD_A)será saida
pinMode(AM_A,OUTPUT); //terminal 3 (AM_A) sera saida
pinMode(VM_A,OUTPUT); // terminal 4(VM_A) sera saida
pinMode(VD_B, OUTPUT);
pinMode(AM_B, OUTPUT);  
pinMode(VM_B, OUTPUT);

}

void loop() {
digitalWrite(VD_A,HIGH);
digitalWrite(VM_B,HIGH);
delay(5000);
digitalWrite(VD_A,LOW);
digitalWrite(AM_A,HIGH);
delay(3000);
digitalWrite(AM_A,LOW);
digitalWrite(VM_B,LOW);
digitalWrite(VM_A,HIGH);
digitalWrite(VD_B,HIGH);
delay(5000);
digitalWrite(VD_B,LOW);
digitalWrite(AM_B, HIGH);
delay(2000);
digitalWrite(AM_B, LOW);
digitalWrite(VM_A, LOW);

}
$abcdeabcde151015202530fghijfghij