Motion controll board test program
Dependencies: Motor mbed eeprom
Diff: main.cpp
- Revision:
- 0:be4a5e3ebb41
- Child:
- 1:5a5abae3748b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Dec 22 15:02:04 2015 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" +#include "Motor.h" +#include "pinconfig.h" + +int main() +{ + Motor Upper(PWM_LU,A_LU,B_LU ); + Upper.period(0.001); + while(1) + { + Upper.speed(-1); + } + +} \ No newline at end of file