document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. void setup() {
  2.   // put your setup code here, to run once:
  3.   pinMode(8,OUTPUT);
  4.   pinMode(7, INPUT_PULLUP);
  5. }
  6.  
  7. void loop() {
  8.   // put your main code here, to run repeatedly:
  9.   if (!digitalRead(7)){
  10.     digitalWrite(8, HIGH);
  11.     delay(500);
  12.     digitalWrite(8, LOW);
  13.     delay(500);
  14.   }
  15. }
');