Docsity

Ejercicios elec digital, Ejercicios de Circuitos Digitales

Vista previa parcial del texto

¡Descarga Ejercicios elec digital y más Ejercicios en PDF de Circuitos Digitales solo en Docsity!

MOTOR CON POTENCIOMETRO

int valor = 0; int motor = 10; int potenciometro=0; void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: valor = analogRead(potenciometro); analogWrite (motor, valor); delay(30); }

Sensor de temperatura