Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  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. }