SHARE
TWEET

Untitled

a guest Apr 18th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int ledPin = 13;
  2.  
  3. void setup() {
  4.  
  5.   pinMode(ledPin, OUTPUT); // Establece el pin digital como salida
  6.  
  7. }
  8.  
  9. void loop() {
  10.  
  11.   digitalWrite(ledPin, HIGH); // Enciende el LED delay(1000); // Espera un segundo digitalWrite(ledPin, LOW); // Apaga el LED        
  12.   delay(1000); // Espera un segundo
  13.   delay(1000); // Espera un segundo
  14.   digitalWrite(ledPin, LOW); // Apaga el LED
  15.   delay(1000); // Espera un segundo
  16.  
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top