Skip to content

Commit c140b91

Browse files
FoRTuFoRTu
authored andcommitted
Fix some errors on "Proyecto_2"
-Borrar algunas lineas de código innecesarias. -Corregir el diagrama del circuito, faltaba una conexión. -Exportar el diagrama corregido a un PNG. -Editar los cambios en Notas.md
1 parent 1cbd2ca commit c140b91

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

Proyecto_2/Codigo/Codigo.ino

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@ int led = 13;
33

44
void setup ()
55
{
6-
Serial.begin(9600);
76
pinMode(boton, INPUT_PULLUP);
87
pinMode(led, OUTPUT);
98
}
109

1110
void loop()
1211
{
13-
int valor = digitalRead(boton);
14-
Serial.println(valor, DEC);
15-
12+
int valor = digitalRead(boton);
1613
if (valor == HIGH)
1714
{
1815
digitalWrite(led, LOW);
-1.39 KB
Binary file not shown.
4.8 KB
Loading

Proyecto_2/Notas.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,13 @@ int led = 13;
2929
3030
void setup ()
3131
{
32-
Serial.begin(9600);
3332
pinMode(boton, INPUT_PULLUP);
3433
pinMode(led, OUTPUT);
3534
}
3635
3736
void loop()
3837
{
3938
int valor = digitalRead(boton);
40-
Serial.println(valor, DEC);
41-
4239
if (valor == HIGH)
4340
{
4441
digitalWrite(led, LOW);

0 commit comments

Comments
 (0)