![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TUK Workshop
Dependencies: mbed lib_workshop_2019
Diff: includes/test_motor.h
- Revision:
- 9:f1dc5709a98d
- Parent:
- 4:bf5caf4c0c88
--- a/includes/test_motor.h Thu Oct 24 06:06:55 2019 +0000 +++ b/includes/test_motor.h Thu Oct 24 13:23:03 2019 +0000 @@ -9,9 +9,9 @@ #ifndef TEST_MOTOR_H #define TEST_MOTOR_H - + #include "mbed.h" - + enum e_direction { FORWARD, BACKWARD @@ -23,7 +23,9 @@ void ft_run_motor(e_direction direction, double duty_cycle, PwmOut pwm_mot, DigitalOut dirA, DigitalOut dirB); void ft_test_motor(PwmOut pin_pwm_mot, DigitalOut pin_dirA, DigitalOut pin_dirB, Serial &pc); - - - -#endif \ No newline at end of file + + +void change_direction(); + +#endif + \ No newline at end of file