apuntes_Arduino/tests/ok_relay_x4/ok_relay_x4.ino
jp.av.dev 4956fda212 reestructuracion completa
pendientes verificar links, otros
2022-04-04 14:40:51 -04:00

39 lines
702 B
C++
Executable File

void setup() {
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
digitalWrite(13,1);
digitalWrite(12,1);
digitalWrite(11,1);
digitalWrite(10,1);
}
void loop() {
digitalWrite(13,0);
delay(1000);
digitalWrite(13,1);
digitalWrite(12,0);
delay(1000);
digitalWrite(12,1);
digitalWrite(11,0);
delay(1000);
digitalWrite(11,1);
digitalWrite(10,0);
delay(1000);
digitalWrite(10,1);
digitalWrite(13,0);
delay(1000);
digitalWrite(12,0);
delay(1000);
digitalWrite(11,0);
delay(1000);
digitalWrite(10,0);
delay(5000);
digitalWrite(13,1);
digitalWrite(12,1);
digitalWrite(11,1);
digitalWrite(10,1);
delay(5000);
}