Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
Diff: STEPPER_MOTOR.hpp
- Revision:
- 56:bc5345bc6650
- Parent:
- 53:71f59e195f06
- Child:
- 57:aba1296e51b1
--- a/STEPPER_MOTOR.hpp Thu May 24 13:31:20 2018 +0000 +++ b/STEPPER_MOTOR.hpp Mon Jul 16 10:51:47 2018 +0000 @@ -1,10 +1,8 @@ /* This is the stepper motor class and is used to control all of the motors individually */ - #ifndef STEPPER_MOTOR_HPP//Header Guards Prevents Multiple includes #define STEPPER_MOTOR_HPP - //Libraries and header includes #include "THREADS.hpp" #include "mbed.h" @@ -13,7 +11,6 @@ class STEPPER_MOTOR //This creates a class called Led { public: - STEPPER_MOTOR(PinName STEP, PinName DIRECTION); //Constructor ~STEPPER_MOTOR(); //Destructor void Permanent_Rotate(); @@ -27,6 +24,7 @@ int _Number_of_steps; DigitalOut _STEP; //Step DigitalOut _DIRECTION; //Direction +}; +#endif//STEPPER_MOTOR_HPP -}; -#endif//STEPPER_MOTOR_HPP \ No newline at end of file +