Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//digitaRead (pin)
lectura = digitalRead(10); //establece el valor del pin 10 para la variable lectura.
//digitalWrite (pin, valor)
digitalWrite (10, HIGH); // ubica el pin 10 en estado alto (5 volts).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment