SHARE
TWEET

Untitled

a guest Apr 25th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int ledPIN = 9;
  2.  
  3. void setup() {
  4.  
  5.   Serial.begin(9600);    //iniciar puerto serie
  6.  
  7.   pinMode(ledPIN , OUTPUT);  //definir pin como salida
  8.  
  9. }
  10.  
  11. void loop(){
  12.  
  13.   digitalWrite(ledPIN , HIGH);   // poner el Pin en HIGH
  14.  
  15.   delay(1000);                   // esperar un segundo
  16.  
  17.   digitalWrite(ledPIN , LOW);    // poner el Pin en LOW
  18.  
  19.   delay(1000);                   // esperar un segundo
  20.  
  21. }
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