 uint8_t col_iter = 0; // Anti-ghosting 
 uint8_t row_i = 0;
 volatile uint8_t may_flip = 0;
-int pwm_planes[] = {0, 0, 1, 0, 0, 1, 0, 2}; // PWM "plane" running sequence
+int pwm_lengths[] = { 250, 100, 40 }; // microseconds per plane
 int pwm_i = 0; // Current PWM cycle
 uint8_t *buf_pwm = buf_a[0];
 


void driveDisplay() {
	static int cur_pin = pin_col[0];
	
	// Main screen turn off.
	digitalWrite(cur_pin, HIGH);


	// initialize SPI
	SPI.begin();
	Timer1.initialize(pwm_lengths[0]);
	Timer1.attachInterrupt(driveDisplay);
}

