 }
 
 void setup() {
-    //precompute_colors();
     interruptSetup();
     ledsetup();
 }

uint8_t led_colors[PIXELS][3];
uint8_t constant_color_index=0;
#define CONSTANT_COLORS_LEN 9

const uint8_t test_pixel[3] = {32,32,32};


{255,255,255}
};

ISR(PCINT0_vect) {
    cli();
    if (PINB & (1<<3)) { //change direction
        constant = 0;
        direction += 2;
        direction = direction % 3;
        direction -= 1;
    }
    if (PINB & 1) { //constant color
        constant = 1;
        constant_color_hue += 32;
        constant_color_index++;
        constant_color_index %= CONSTANT_COLORS_LEN;
    }
    sei();
}

void clear_led_colors() {
