apuntes_Arduino/tests/OK_Relay_x4/OK_Relay_x4.ino
jp.av.dev 85bf8bb429 proyectos renombrados, reestructuracion
pendientes crear, indexar y linkear readmes
2022-04-04 01:11:04 -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);
}