Skip to content

Instantly share code, notes, and snippets.

@HectorTorres
Created February 28, 2018 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HectorTorres/67a6274b083b1b0af9f46564401c79d5 to your computer and use it in GitHub Desktop.
Save HectorTorres/67a6274b083b1b0af9f46564401c79d5 to your computer and use it in GitHub Desktop.
//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