#define N_LEDS 8 void setup() { for (int pin=0; pin> pin) & 1 ? LOW : HIGH)); } delay(time / 4 / N_LEDS); index = (index + 1) % lettersLength; } } void loop() { triangle(10000); lines(10000); circles(10000); }