 	set_lamp(255);
 	go_home();
 	delay(1000);
-	while(!digitalRead(BUTTON_PIN));
+	while(!(PINB & BUTTON_MASK));
 }
 
 /* draw regular polygon x, y are the center point with absolute_steps */


/* turn laser off and put projector in home position */
void go_home() {
	set_laser(false);
	absolute_steps(0, 0);
}

void go_to(int16_t x, int16_t y) {
	if (absolute_steps(x * draw_scale + draw_x, y * draw_scale + draw_y))
		Serial.println(F("Point out of range!"));
	// absolute_point(x * draw_scale + draw_x, y * draw_scale + draw_y);
}


		step_to_current_position();
	}
	disable_axes();
}

/* go to the given axes position from current motors position */
