Guest User

Hacked E-Card

a guest
Nov 23rd, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Void Setup() {
  2. pinMode(13, OUTPUT); //this determines which pin you connected to
  3. Serial.begin(9600); }
  4.  
  5. void loop() (int sensorValue= analogRead(A0);
  6. Serial.println(sensorValue);
  7. if (sensor Value< 10)
  8. (digitalWrite (13,HIGH);
  9. delay(5000);
  10. digitalWrite(13,LOW);
  11. delay(5000);
  12. }
  13. }
Add Comment
Please, Sign In to add comment