Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-rtos TextLCD
Diff: Stepper_Motor/STEPPER_MOTOR.hpp
- Revision:
- 25:9751619fa030
- Parent:
- 23:07a368f2cdb1
--- 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();