Guest User

HelloEchoBlinkv1

a guest
Mar 6th, 2019
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const int led1 = 3;
  2. const int led2 = 4;
  3. const int button = 2;
  4.  
  5. void setup() {
  6.   pinMode(button,INPUT);
  7.   pinMode(led1,OUTPUT);
  8.   pinMode(led2,OUTPUT);
  9. }
  10.  
  11. void loop() {
  12.   digitalWrite(led1,HIGH);
  13.   delay(500);
  14.   digitalWrite(led1,LOW);
  15.   delay(500);
  16.  
  17. }
Add Comment
Please, Sign In to add comment