Advertisement
2607

RGBblinks1

Jul 31st, 2019
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void setup() {
  2.   pinMode(9, OUTPUT);
  3.   pinMode(10, OUTPUT);
  4.   pinMode(11, OUTPUT);
  5.  
  6. }
  7.  
  8. void loop() {
  9.   analogWrite(9,85);
  10.   analogWrite(10,170);
  11.   analogWrite(11,255);
  12.   delay(1000);
  13.   analogWrite(9,170);
  14.   analogWrite(10,255);
  15.   analogWrite(11,85);
  16.   delay(1000);
  17.   analogWrite(9,255);
  18.   analogWrite(10,85);
  19.   analogWrite(11,170);
  20.   delay(1000);
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement