const int redPin = 3; const int greenPin = 5; const int bluePin = 6; void setup() { pinMode(redPin, OUTPUT); pinMode(greenPin, OUTPUT); pinMode(bluePin, OUTPUT); } void loop() { analogWrite(bluePin, 0); analogWrite(redPin, 255); delay(1000); analogWrite(redPind, 0); analogWrite(greenPin, 255); delay(1000); analogWrite(greenPin, 0); analogWrite(bluePin, 255); delay(1000); }