Tutorial for first mbed project
Dependencies: mbed lib_workshop_2019
includes/test_motor.h
- Committer:
- gvaquette
- Date:
- 2019-10-28
- Revision:
- 9:19255172362f
- Parent:
- 4:bf5caf4c0c88
File content as of revision 9:19255172362f:
/** * @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