int pino_in1 = 8, pino_out1 = 12;
int pino_in2 = 2, pino_out2 = 4;
void setup() {
//Serial.begin(9600);
pinMode(pino_out1, OUTPUT);
pinMode(pino_in1, INPUT);
pinMode(pino_out2, OUTPUT);
pinMode(pino_in2, INPUT);
}
void loop() {
digitalWrite(pino_out1,HIGH);
//Serial.print("Recebido [1]: ");
//Serial.println(digitalRead(pino_in1));
delay(1000);
digitalWrite(pino_out1,LOW);
//Serial.print("Recebido [1]: ");
//Serial.println(digitalRead(pino_in1));
delay(1000);
digitalWrite(pino_out2,HIGH);
//Serial.print("Recebido [2]: ");
//Serial.println(digitalRead(pino_in2));
delay(1000);
digitalWrite(pino_out2,LOW);
//Serial.print("Recebido [2]: ");
//Serial.println(digitalRead(pino_in2));
delay(1000);
}