void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
Serial.println("Farbwert? r;g;b (also z.B 144;20;23)"); 

while(!Serial.available()) {}

int r = Serial.readStringUntil(';').toInt();
Serial.print("Rot: ");
Serial.println(r);

int g = Serial.readStringUntil(';').toInt();
Serial.print("Gruen: ");
Serial.println(g);

int b = Serial.readStringUntil(';').toInt();
Serial.print("Blau: ");
Serial.println(b);


analogWrite(3, r);
analogWrite(5, g);
analogWrite(6, b);
























}