Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. int Pin=13; /*global declaration*/
  2. int Pin1=8;
  3. void setup
  4. {
  5. pinMode(pin,OUTPUT); /*setting up the function*/
  6. pinMode(Pin1,OUTPUT);
  7. }
  8. void loop
  9. {
  10. digitalWrite(13,HIGH); /*programming the code to the pins*/
  11. digitalWrite(8,LOW);
  12. delay(1000);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement