Thomas Morris
/
PROJ324_Final
Proj 324 Final
Fork of ELEC351_Group_T by
MOVES.hpp
- Committer:
- thomasmorris
- Date:
- 2018-08-15
- Revision:
- 57:aba1296e51b1
File content as of revision 57:aba1296e51b1:
//This is where the algorithms movements will be defined #ifndef MOVES_HPP//Header Guards Prevents Multiple includes #define MOVES_HPP #include "ALGORITHM.hpp" #include "STEPPER_MOTOR.hpp" static STEPPER_MOTOR STEPPER_MOTOR_1(D0,D1);//step then direction static STEPPER_MOTOR STEPPER_MOTOR_2(D2,D3);//step then direction static STEPPER_MOTOR STEPPER_MOTOR_3(D4,D5);//step then direction static STEPPER_MOTOR STEPPER_MOTOR_4(D6,D7);//step then direction static STEPPER_MOTOR STEPPER_MOTOR_5(D8,D9);//step then direction static STEPPER_MOTOR STEPPER_MOTOR_6(D10,D11);//step then direction static int Move_list[200]; //Creates a move list of 200 which is defaulted to 0 static int Move_list_pointer; void White_Cross(); //White Cross funcitons void White_Cross_Position(); void White_Cross_Orientate(); void White_Centre_Swap(); void White_Corners(); // White Corner functions void Middle_Layer(); void Top_Cross(); void Top_Layer(); void Corner_Positioning(); void Edge_Orientation(); void List_Execution(); #endif