Y2 Kb / Mbed 2 deprecated DCMotorControlShieldV1_0

Dependencies:   mbed

Revision:
0:dffe3a22587d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Inc/MotorDriver_TB6612.h	Fri Sep 01 14:59:36 2017 +0000
@@ -0,0 +1,42 @@
+/**
+ ******************************************************************************
+ * @file    MotorDriver_TB6612.h
+ * @brief   Header file of Motor driver IC TB6612
+ * @version 1.0
+ *
+ * @par License
+ *      This software is released under the MIT License, see LICENSE.txt.
+ * @par ChangeLog
+ * - 1.0 : Initial Version
+ ******************************************************************************
+ */
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __MOTORDRIVER_TB6612_H
+#define __MOTORDRIVER_TB6612_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Include system header files -----------------------------------------------*/
+/* Include user header files -------------------------------------------------*/
+/* Exported macro ------------------------------------------------------------*/
+/********** Hardware-specific parameters **********/
+#define Vm          4.6f        ///< Applied voltage of motor (5V - <Forward voltage of diode>) [V]
+
+/* Exported types ------------------------------------------------------------*/
+/* Exported enum tag ---------------------------------------------------------*/
+/* Exported struct/union tag -------------------------------------------------*/
+/* Exported variables --------------------------------------------------------*/
+/* Exported function prototypes ----------------------------------------------*/
+void setMotorVoltage(float);
+void stopMotor(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*__MOTORDRIVER_TB6612_H */
+/***************************************************************END OF FILE****/
+