 typedef struct {
 	uint8_t type; // CT_SET_POSITION
 	uint8_t motor; // 0 - elevation, 1 - azimuth
+	bool is_absolute;
 	int16_t degrees;
 } set_position_packet_t __attribute__((packed));
 
 typedef struct {
-	uint8_t type; // CT_SET_CONFIG
-	uint8_t motor; // 0 - elevation, 1 - azimuth
-	bool	motor_state; // 0 off, 1 on
-	uint16_t max_speed;
-	uint16_t acceleration;
-	int16_t current_steps;
-} set_config_packet_t __attribute__((packed));
-
-typedef struct {
-	uint8_t type; // CT_GET_CONFIG
-	uint8_t motor; // 0 - elevation, 1 - azimuth
-} get_config_packet_t __attribute__((packed));
-
-typedef struct {
-	uint8_t type; // TC_CONFIG
-	uint8_t motor; // 0 - elevation, 1 - azimuth
-	uint16_t max_speed;
-	uint16_t acceleration;
-	int16_t current_steps;
-	int16_t current_degrees;
-} config_packet_t __attribute__((packed));
+	uint8_t type; // CT_SET_MAX_SPEED
+	uint8_t motor; // 0 - elevation, 1 - azimuth
+	uint16_t maxspeed;
+} set_max_speed_packet_t __attribute__((packed));
+
+typedef struct {
+	uint8_t type; // CT_SET_MOTOR_STATE
+	uint8_t motor; // 0 - elevation, 1 - azimuth
+	bool accel;
+} set_accel_packet_t __attribute__((packed));
+
+typedef struct {
+	uint8_t type; // CT_SET_ACCEL
+	uint8_t motor; // 0 - elevation, 1 - azimuth
+	bool state; // 0 - off, 1 - on
+} set_motor_state_packet_t __attribute__((packed));
 
 ack_packet_t ack_packet;
 

enum {
	TC_ACK = 0x00,

	CT_SET_CONFIG = 0x01,
	CT_SET_POSITION = 0x02,

	CT_GET_CONFIG = 0x03,
	TC_CONFIG = 0x30
};

enum {
	ACK_STATUS_SUCCESS = 0,
	ACK_STATUS_FAIL
};
typedef struct {
	uint8_t type; // TC_ACK
	uint8_t status;

		}
	}

	//ElevationStepper.runSpeed(); // for const speed
	ElevationStepper.run(); // for accel/deccel
	AzimuthStepper.run();
}
