Water control
/
Water_pump
start
motors.h@2:5dd057d67746, 2017-06-27 (annotated)
- Committer:
- BillyGrande
- Date:
- Tue Jun 27 21:13:09 2017 +0000
- Revision:
- 2:5dd057d67746
- Parent:
- 1:924bead61d21
start
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
BillyGrande | 1:924bead61d21 | 1 | #ifndef MOTORS |
BillyGrande | 1:924bead61d21 | 2 | #define MOTORS |
BillyGrande | 1:924bead61d21 | 3 | #include "mbed.h" |
BillyGrande | 1:924bead61d21 | 4 | |
BillyGrande | 1:924bead61d21 | 5 | void move_motors(char, char* , int); |
BillyGrande | 1:924bead61d21 | 6 | //Motor constants |
BillyGrande | 1:924bead61d21 | 7 | #define MAX_SPEED 10000 |
BillyGrande | 1:924bead61d21 | 8 | #define MICROSTEPS_PER_STEP 4 //Either 2, 4, 8, 16, or 32 |
BillyGrande | 1:924bead61d21 | 9 | |
BillyGrande | 1:924bead61d21 | 10 | #endif |