brushless motor control library with l293d
brushlessController_L293D.h@1:f7babaac1149, 2015-07-14 (annotated)
- Committer:
- BaserK
- Date:
- Tue Jul 14 07:35:41 2015 +0000
- Revision:
- 1:f7babaac1149
- Parent:
- 0:9df79ea8037e
- Child:
- 5:5df174756f84
oneStep function is added:; - One step movement in either direction; - It takes the previous state and uses it for the next state; - It is required for gimbalController
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
BaserK | 0:9df79ea8037e | 1 | #ifndef BRUSHLESSCONTROLLER_L293D_H |
BaserK | 0:9df79ea8037e | 2 | #define BRUSHLESSCONTROLLER_L293D_H |
BaserK | 0:9df79ea8037e | 3 | |
BaserK | 0:9df79ea8037e | 4 | #include "mbed.h" |
BaserK | 0:9df79ea8037e | 5 | |
BaserK | 1:f7babaac1149 | 6 | /* Function Prototypes */ |
BaserK | 0:9df79ea8037e | 7 | void brushlessControl(bool dir, int delay_time, int stepNum); |
BaserK | 1:f7babaac1149 | 8 | void oneStep(bool dir, int delay_time, int* prevStep); |
BaserK | 0:9df79ea8037e | 9 | |
BaserK | 0:9df79ea8037e | 10 | #endif |