EJERCICIO #1 ENCENDER Y APAGAR VARIOS LEDS CON UN PULSADOR

2 Pages • 27 Words • PDF • 118.9 KB
Uploaded at 2021-09-24 17:00

This document was submitted by our user and they confirm that they have the consent to share it. Assuming that you are writer or own the copyright of this document, report to us by using this DMCA report button.


int Rojo=13; int Verde=12; int Boton=4;

void setup() { pinMode(Rojo,OUTPUT); pinMode(Verde,OUTPUT); pinMode(Boton,INPUT);

}

void loop() { if(digitalRead(Boton)==LOW) { digitalWrite(Verde,HIGH); digitalWrite(Rojo,LOW);

} else { digitalWrite(Rojo,HIGH); digitalWrite(Verde,LOW); } }
EJERCICIO #1 ENCENDER Y APAGAR VARIOS LEDS CON UN PULSADOR

Related documents

EJERCICIO #1 ENCENDER Y APAGAR VARIOS LEDS CON UN PULSADOR

2 Pages • 27 Words • PDF • 118.9 KB

Un hola y un adios- Patricia Bonet

239 Pages • 62,428 Words • PDF • 1.2 MB

UN 8 DIRECCION Y LIDERAZGO

8 Pages • 3,267 Words • PDF • 121.5 KB

INVESTIGAR EN LITERATURA. Ejercicio 1

4 Pages • 477 Words • PDF • 95.2 KB

Kiernan Kelly - FB y Matt 1 - Cafeina para un marine

16 Pages • 3,179 Words • PDF • 529.8 KB

El ogro con plumas 1

1 Pages • PDF • 346.7 KB

50 RITUALES CON VELAS Y ANGELES

14 Pages • 6,539 Words • PDF • 88.1 KB

EJERCICIO DE FIGURAS LITERARIAS

3 Pages • 32 Words • PDF • 815.2 KB

(6) Ejercicio 5 resuelto

15 Pages • 1,039 Words • PDF • 1.1 MB

Avance 1 y 2

124 Pages • 21,895 Words • PDF • 3.8 MB