#define LED_R 11
#define LED_G 10
#define LED_B 9
#define POT_R 0
#define POT_G 1
#define POT_B 2
void setup() {
}
void loop() {
analogWrite(LED_R, analogRead(POT_R) / 4);
analogWrite(LED_G, analogRead(POT_G) / 4);
analogWrite(LED_B, analogRead(POT_B) / 4);
delay(100);
}