// Coloca no Arduino as cores conforme a roda de cores do link abaixo
// https://i.pinimg.com/originals/2e/db/7d/2edb7dbb20686dab48d865c94a52bdbf.png

#define RED_PIN   11
#define GREEN_PIN 10
#define BLUE_PIN   9

void setup() {
  pinMode(RED_PIN, OUTPUT);
  pinMode(GREEN_PIN, OUTPUT);
  pinMode(BLUE_PIN, OUTPUT);
}

uint8_t red_val[12] = {255, 255, 255, 127, 0, 0, 0, 0, 0, 127, 255, 255};
uint8_t green_val[12] = {0, 127, 255, 255, 255, 255, 255, 127, 0, 0, 0, 0};
uint8_t blue_val[12] = {0, 0, 0, 0, 0, 127, 255, 255, 255, 255, 255, 127};

uint8_t count = 0;

void loop() {
  analogWrite(RED_PIN, red_val[count]);
  analogWrite(GREEN_PIN, green_val[count]);
  analogWrite(BLUE_PIN, blue_val[count]);

  count++;
  if (count > 11) count = 0;

  delay(1000);
}