Advertisement
ambersy314

Untitled

Jun 15th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. const int PinRed=9;
  2. const int PinGreen=10;
  3. const int PinBlue=11;
  4.  
  5. void setup()
  6. {
  7. // put your setup code here, to run once:
  8. analogWrite(PinRed, 255);
  9. analogWrite(PinGreen, 0);
  10. analogWrite(PinBlue, 0);
  11. delay (500);
  12. analogWrite(PinRed, 0);
  13. analogWrite(PinGreen, 255);
  14. analogWrite(PinBlue, 0);
  15. delay(500);
  16. analogWrite(PinRed, 0);
  17. analogWrite(PinGreen, 0);
  18. analogWrite(PinBlue, 255);
  19. delay(500);
  20.  
  21.  
  22. }
  23.  
  24. void loop()
  25. {
  26. // put your main code here, to run repeatedly:
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement