const int PIN_RED = 5;
const int PIN_GREEN = 6;
const int PIN_BLUE = 7;
void setup() {
pinMode(PIN_RED, OUTPUT);
pinMode(PIN_GREEN, OUTPUT);
pinMode(PIN_BLUE, OUTPUT);
}
void loop() {
// color code #00C9CC (R = 0, G = 201, B = 204)
// 100, 255, 255
analogWrite(PIN_RED, 0);
analogWrite(PIN_GREEN, 255);
analogWrite(PIN_BLUE, 230);
delay(1000); // keep the color 1 second
// color code #F7788A (R = 247, G = 120, B = 138)
analogWrite(PIN_RED, 247);
analogWrite(PIN_GREEN, 120);
analogWrite(PIN_BLUE, 138);
delay(1000); // keep the color 1 second
// color code #34A853 (R = 52, G = 168, B = 83)
analogWrite(PIN_RED, 255);
analogWrite(PIN_GREEN, 1);
analogWrite(PIN_BLUE, 1);
delay(1000); // keep the color 1 second
}