Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed lib_workshop_2019
Diff: includes/test_motor.h
- Revision:
- 4:bf5caf4c0c88
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/includes/test_motor.h Wed Oct 23 19:25:12 2019 +0000
@@ -0,0 +1,29 @@
+/**
+ * @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
\ No newline at end of file