int redPin = 11; int greenPin = 10; int bluePin = 9; int i; void setup() { pinMode(redPin, OUTPUT); pinMode(greenPin, OUTPUT); pinMode(bluePin, OUTPUT); } void loop() { // άναψε το κόκκινο analogWrite(redPin, 255); analogWrite(greenPin, 0); analogWrite(bluePin, 0); delay(2000); // άναψε το πράσινο analogWrite(redPin, 0); analogWrite(greenPin, 255); analogWrite(bluePin, 0); delay(2000); // άναψε το μπλε analogWrite(redPin, 0); analogWrite(greenPin, 0); analogWrite(bluePin, 255); delay(2000); }