simple library for applying number of steps, direction, speed and a linear acceleration-deceleration to a Stepper Motor Controller
Dependents: 16A_Autopancakemaker
Revision 1:ef0414c3ce83, committed 2010-11-02
- Comitter:
- franzachatz
- Date:
- Tue Nov 02 10:29:48 2010 +0000
- Parent:
- 0:27b548e34acc
- Child:
- 2:ad11f550b379
- Commit message:
- Version 0.2
Changed in this revision
stepper.cpp | Show annotated file Show diff for this revision Revisions of this file |
stepper.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/stepper.cpp Mon Nov 01 18:16:11 2010 +0000 +++ b/stepper.cpp Tue Nov 02 10:29:48 2010 +0000 @@ -26,7 +26,7 @@ #define START_STOP_SPEED 300 // define Library version number -#define VERSION 0.1 +#define VERSION 0.2 // led4, used for testing the direction signal DigitalOut led4(LED4);
--- a/stepper.h Mon Nov 01 18:16:11 2010 +0000 +++ b/stepper.h Tue Nov 02 10:29:48 2010 +0000 @@ -37,9 +37,9 @@ * #define ACCEL_OFF 0 * #define SPEED 100 * - * stepper x(P18,P21); - * stepper y(P19,P22); - * stepper z(P20,P23); + * stepper x(p18,p21); + * stepper y(p19,p22); + * stepper z(p20,p23); * * int main() * {