08-16-2021, 10:40 AM
Nije dobar setup. Ovaj deo
Treba:
Code:
pinMode(ledPins, OUTPUT);
Treba:
Code:
void setup() {
for (Pin = 0; Pin < pinCount; Pin++) {
pinMode(ledPins[Pin], OUTPUT);
}
}