int red = 10;
int green = 9;
int blue = 11;

int rPot = A1;
int gPot = A2;
int bPot = A3;

int red_value;
int green_value;
int blue_value;


void setup() {
  Serial.begin(115200);
  pinMode(rPot, INPUT);
  pinMode(gPot, INPUT);
  pinMode(bPot, INPUT);

  pinMode(red, OUTPUT);
  pinMode(green, OUTPUT);
  pinMode(blue, OUTPUT);
}

void loop() {
  red_value = analogRead(rPot);
  green_value = analogRead(gPot);
  blue_value = analogRead(bPot);

  red_value = (255./1023.) * analogRead(rPot);
  green_value = (255./1023.) * analogRead(gPot);
  blue_value = (255./1023.) * analogRead(bPot);

  //analogWrite(red, red_value);
  //analogWrite(green, green_value);
  //analogWrite(blue, blue_value);
  analogWrite(red, 254);
  analogWrite(green, 125);
  analogWrite(blue, 1);
}
D0D1D2D3D4D5D6D7GNDLOGIC