 #define SERIAL_BUFFER_SIZE			(60)
 
 #define STEPS_PER_RADIAN			(648.68)
-#define STEP_DELAY_MS				(20)
-#define LASER_POINTS_COUNT			(256)
-#define LASER_MASKS_COUNT			(LASER_POINTS_COUNT / 8)
+#define STEP_DELAY_MS				(4)
 
 #define X_AXIS_A_PIN				(4)
 #define X_AXIS_B_PIN				(5)

void relative_steps(xy_point * p) {
	int32_t steps, err, e;
	xy_point delta = {abs(p->x), abs(p->y)};
	xy_point step = {(p->x > 0 ? 1 : (p->x < 0 ? -1 : 0)), (p->y > 0 ? 1 : (p->y < 0 ? -1 : 0)};

	steps = max(delta.x, delta.y);
	err = (delta.x > delta.y ? delta.x : -delta.y) / 2;

/* turn laser on or off (pull mosfet gate down to turn the laser on) */
void set_laser(bool is_on) {
	if (is_on)
		PORTB |= LASER_MASK;
	else
		PORTB &= ~LASER_MASK;
}

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