void setup() {
// A lábbeállítás kimenőként
pinMode(A0, OUTPUT);
pinMode(A1, OUTPUT);
pinMode(A2, OUTPUT);
}
void loop() {
analogWrite(A0, 0);
analogWrite(A1, 0);
analogWrite(A2, 1023);
delay(1000);
analogWrite(A0, 0);
analogWrite(A1, 73);
analogWrite(A2, 218);
delay(1000);
analogWrite(A0, 0);
analogWrite(A1, 1023);
analogWrite(A2, 0);
delay(1000);
}