SIGUE EXPERIMENTANDO 2
int buzzer = 9; int val = 0; void setup() { pinMode(buzzer, OUTPUT); } void loop() { int val = analogRead (A0); tone(buzzer, val, 500); delay(2000); }
int buzzer = 9; int val = 0; void setup() { pinMode(buzzer, OUTPUT); } void loop() { int val = analogRead (A0); tone(buzzer, val, 500); delay(2000); }
Comentarios
Publicar un comentario