![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Testing 1 blue pill
Dependencies: mbed mbed-rtos TextLCD
Diff: Stepper_Motor/STEPPER_MOTOR.hpp
- Revision:
- 23:07a368f2cdb1
- Parent:
- 18:3523660f3930
- Child:
- 25:9751619fa030
--- a/Stepper_Motor/STEPPER_MOTOR.hpp Sat Feb 16 12:43:26 2019 +0000 +++ b/Stepper_Motor/STEPPER_MOTOR.hpp Sat Feb 16 15:19:21 2019 +0000 @@ -8,6 +8,7 @@ //Libraries and header includes #include "mbed.h" #include "rtos.h" + class STEPPER_MOTOR //This creates a class called Led { public: @@ -19,9 +20,12 @@ void Rotate_90(); void Rotate_Steps(int Steps); float Get_Turns(); + void Pause_Code(); + void Unpause_Code(); private: //Private member variables to prevent them being accessed externally //Data Pins + bool _Pause_Code; bool _dir; int _step; int _Number_of_steps;