![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Teacher version
Dependencies: mbed lib_workshop_2019
includes/test_motor.h
- Committer:
- gvaquette
- Date:
- 2019-10-23
- Revision:
- 4:bf5caf4c0c88
File content as of revision 4:bf5caf4c0c88:
/** * @author geoffrey Vaquette * * @section DESCRIPTION * * Testing value from ultrasonic sensors on robot * */ #ifndef TEST_MOTOR_H #define TEST_MOTOR_H #include "mbed.h" enum e_direction { FORWARD, BACKWARD }; /// <summary>Sorts the list to by the given column</summary> /// <param name="sel">Column to be sorted (index-1-based) and sort direction (pos. = ascending)</param> /// <returns>Documentation of return type</returns> 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