Proj 324 Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

Committer:
thomasmorris
Date:
Mon Jul 16 10:51:47 2018 +0000
Revision:
56:bc5345bc6650
Moves added to serial;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
thomasmorris 56:bc5345bc6650 1 #ifndef ROTATE_HPP
thomasmorris 56:bc5345bc6650 2 #define ROTATE_HPP
thomasmorris 56:bc5345bc6650 3
thomasmorris 56:bc5345bc6650 4 #include "THREADS.hpp"
thomasmorris 56:bc5345bc6650 5 #include "mbed.h"
thomasmorris 56:bc5345bc6650 6 #include "rtos.h"
thomasmorris 56:bc5345bc6650 7 #include "SERIAL.hpp"
thomasmorris 56:bc5345bc6650 8 #include "ALGORITHM.hpp"
thomasmorris 56:bc5345bc6650 9
thomasmorris 56:bc5345bc6650 10 class ROTATE
thomasmorris 56:bc5345bc6650 11 {
thomasmorris 56:bc5345bc6650 12 public:
thomasmorris 56:bc5345bc6650 13 ROTATE();//Constructor
thomasmorris 56:bc5345bc6650 14 ~ROTATE();//Destructor
thomasmorris 56:bc5345bc6650 15
thomasmorris 56:bc5345bc6650 16 void CU();//Clockwise upper face
thomasmorris 56:bc5345bc6650 17 void AU();//AntiClockwise upper face
thomasmorris 56:bc5345bc6650 18 void CF();//Clockwise front face
thomasmorris 56:bc5345bc6650 19 void AF();//AntiClockwise front face
thomasmorris 56:bc5345bc6650 20 void CL();//Clockwise left face
thomasmorris 56:bc5345bc6650 21 void AL();//AntiClockwise left face
thomasmorris 56:bc5345bc6650 22 void CR();//Clockwise right face
thomasmorris 56:bc5345bc6650 23 void AR();//AntiClockwise right face
thomasmorris 56:bc5345bc6650 24 void CB();//Clockwise back face
thomasmorris 56:bc5345bc6650 25 void AB();//AntiClockwise back face
thomasmorris 56:bc5345bc6650 26 void CD();//Clockwise down face
thomasmorris 56:bc5345bc6650 27 void AD();//AntiClockwise down face
thomasmorris 56:bc5345bc6650 28
thomasmorris 56:bc5345bc6650 29
thomasmorris 56:bc5345bc6650 30 private:
thomasmorris 56:bc5345bc6650 31
thomasmorris 56:bc5345bc6650 32 };
thomasmorris 56:bc5345bc6650 33
thomasmorris 56:bc5345bc6650 34 #endif