![](/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:
- 25:9751619fa030
- Parent:
- 23:07a368f2cdb1
- Child:
- 28:3193157ebb0c
diff -r 728de4bf961e -r 9751619fa030 Stepper_Motor/STEPPER_MOTOR.hpp --- a/Stepper_Motor/STEPPER_MOTOR.hpp Mon Feb 18 12:02:34 2019 +0000 +++ b/Stepper_Motor/STEPPER_MOTOR.hpp Mon Feb 18 22:04:54 2019 +0000 @@ -8,7 +8,7 @@ //Libraries and header includes #include "mbed.h" #include "rtos.h" - +static int loop_wait_time = 0; class STEPPER_MOTOR //This creates a class called Led { public: @@ -18,7 +18,7 @@ void Permanent_Rotate_clock_wise(); void Permanent_Rotate_anti_clock_wise(); void Rotate_90(); - void Rotate_Steps(int Steps); + void Rotate_Steps(int Steps,int Function); float Get_Turns(); void Pause_Code(); void Unpause_Code();