yuandi:diy:链接2

- void setup()

  1. {pinMode(10,OUTPUT);
  2. pinMode(11,OUTPUT);
  3. pinMode(12,OUTPUT);}
  4. void loop(){
  5. digitalWrite(10,HIGH);
  6. digitalWrite(11,LOW);
  7. digitalWrite(12,LOW);
  8. delay(3000);
  9. digitalWrite(10,HIGH);
  10. digitalWrite(11,LOW);
  11. digitalWrite(12,LOW);
  12. delay(200);
  13. digitalWrite(10,LOW);
  14. digitalWrite(11,LOW);
  15. digitalWrite(12,LOW);
  16. delay(200);
  17. digitalWrite(10,HIGH);
  18. digitalWrite(11,LOW);
  19. digitalWrite(12,LOW);
  20. delay(200);
  21. digitalWrite(10,LOW);
  22. digitalWrite(11,LOW);
  23. digitalWrite(12,LOW);
  24. delay(200);
  25. digitalWrite(10,HIGH);
  26. digitalWrite(11,LOW);
  27. digitalWrite(12,LOW);
  28. delay(200);
  29. digitalWrite(10,LOW);
  30. digitalWrite(11,LOW);
  31. digitalWrite(12,LOW);
  32. delay(200);
  33. digitalWrite(10,LOW);
  34. digitalWrite(11,HIGH);
  35. digitalWrite(12,LOW);
  36. delay(1000);
  37. digitalWrite(10,LOW);
  38. digitalWrite(11,LOW);
  39. digitalWrite(12,HIGH);
  40. delay(3000);
  41. }
  • yuandi/diy/链接2.txt
  • 最后更改: 2014/04/21 13:05
  • (外部编辑)