fork download
  1. Void setup()
  2. {
  3. pinMode(2, OUTPUT);
  4. pinMode(3, OUTPUT);
  5. pinMode(4,OUTPUT) ;
  6. pinMode(5,OUTPUT) ;
  7. pinMode(6,OUTPUT) ;
  8. pinMode(7,OUTPUT) ;
  9. pinMode(8,OUTPUT) ;
  10. pinMode(9,OUTPUT);
  11. pinMode(10,OUTPUT);
  12. pinMode(11,OUTPUT) ;
  13. pinMode(12,OUTPUT) ;
  14. pinMode(13,OUTPUT);
  15. }
  16.  
  17. void loop()
  18. {
  19. digitalWrite(2, HIGH);
  20. delay(300);
  21. digitalWrite(3,HIGH);
  22. delay(300);
  23. digitalWrite(4, HIGH);
  24. delay(300);
  25. digitalWrite(5, HIGH);
  26. delay(300);
  27. digitalWrite(6, HIGH);
  28. delay(300);
  29. digitalWrite(7, HIGH);
  30. delay(300);
  31. digitalWrite(8, HIGH);
  32. delay(300);
  33. digitalWrite(9, HIGH);
  34. delay(300);
  35. digitalWrite(10, HIGH);
  36. delay(300);
  37. digitalWrite(11, HIGH);
  38. delay(300);
  39. digitalWrite(12,HIGH);
  40. delay(300);
  41. digitalWrite(2, LOW);
  42. delay(300);
  43. digitalWrite(3,LOW);
  44. delay(300);
  45. digitalWrite(4, LOW);
  46. delay(300);
  47. digitalWrite(5, LOW);
  48. delay(300);
  49. digitalWrite(6, LOW);
  50. delay(300);
  51. digitalWrite(7, LOW);
  52. delay(300);
  53. digitalWrite(8, LOW);
  54. delay(300);
  55. digitalWrite(9, LOW);
  56. delay(300);
  57. digitalWrite(10, LOW);
  58. delay(300);
  59. digitalWrite(11, LOW);
  60. delay(300);
  61. digitalWrite(12, LOW);
  62. delay(300);
  63. }
  64.  
  65.  
Success #stdin #stdout 0.02s 25832KB
stdin
Standard input is empty
stdout
Standard output is empty