SIGUE EXPERIMENTANDO 1
int LED = 9; void setup() { pinMode(LED, OUTPUT); } void loop() { int val = analogRead (A0); if (val>255){ digitalWrite(LED, HIGH); }else{ digitalWrite(LED, LOW); } }
int LED = 9; void setup() { pinMode(LED, OUTPUT); } void loop() { int val = analogRead (A0); if (val>255){ digitalWrite(LED, HIGH); }else{ digitalWrite(LED, LOW); } }
Comentarios
Publicar un comentario