\doxysection{src/\+Me\+Mega\+Pi\+DCMotor.h File Reference}
\hypertarget{_me_mega_pi_d_c_motor_8h}{}\label{_me_mega_pi_d_c_motor_8h}\index{src/MeMegaPiDCMotor.h@{src/MeMegaPiDCMotor.h}}


Header for \doxylink{_me_mega_pi_d_c_motor_8cpp}{Me\+Mega\+Pi\+DCMotor.\+cpp} module.  


{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$stdbool.\+h$>$}\newline
{\ttfamily \#include $<$Arduino.\+h$>$}\newline
{\ttfamily \#include "{}Me\+Config.\+h"{}}\newline
Include dependency graph for Me\+Mega\+Pi\+DCMotor.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{_me_mega_pi_d_c_motor_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{_me_mega_pi_d_c_motor_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structmegapi__dc__type}{megapi\+\_\+dc\+\_\+type}}
\item 
class \mbox{\hyperlink{class_me_mega_pi_d_c_motor}{Me\+Mega\+Pi\+DCMotor}}
\begin{DoxyCompactList}\small\item\em Driver for Me Megapi DC motor device. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{_me_mega_pi_d_c_motor_8h_a1504d45ba642438cc182f33db6191fc9}\label{_me_mega_pi_d_c_motor_8h_a1504d45ba642438cc182f33db6191fc9} 
\mbox{\hyperlink{structmegapi__dc__type}{megapi\+\_\+dc\+\_\+type}} {\bfseries megapi\+\_\+dc\+\_\+\+Port} \mbox{[}14\mbox{]}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Header for \doxylink{_me_mega_pi_d_c_motor_8cpp}{Me\+Mega\+Pi\+DCMotor.\+cpp} module. 

\begin{DoxyAuthor}{Author}
Make\+Block 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
V1.\+0.\+1 
\end{DoxyVersion}
\begin{DoxyDate}{Date}
2016/04/07 
\end{DoxyDate}
\begin{DoxyParagraph}{Copyright}
This software is Copyright (C), 2012-\/2016, Make\+Block. Use is subject to license ~\newline
conditions. The main licensing options available are GPL V2 or Commercial\+: ~\newline
 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Open Source Licensing GPL V2}
This is the appropriate option if you want to share the source code of your ~\newline
application with everyone you distribute it to, and you also want to give them ~\newline
the right to share who uses it. If you wish to use this software under Open ~\newline
Source Licensing, you must contribute all your source code to the open source ~\newline
community in accordance with the GPL Version 2 when your application is ~\newline
distributed. See \href{http://www.gnu.org/copyleft/gpl.html}{\texttt{ http\+://www.\+gnu.\+org/copyleft/gpl.\+html}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
This file is a drive for Me Megapi DC motor device.
\end{DoxyParagraph}
\begin{DoxyParagraph}{Method List\+:}

\end{DoxyParagraph}

\begin{DoxyEnumerate}
\item void \doxylink{class_me_mega_pi_d_c_motor_a8d46dbfbce3b5f38622eb6f3febd4feb}{Me\+Mega\+Pi\+DCMotor\+::setpin(uint8\+\_\+t dc\+\_\+dir\+\_\+h1,uint8\+\_\+t dc\+\_\+dir\+\_\+h2,uint8\+\_\+t pwm\+\_\+pin)}
\item void \doxylink{class_me_mega_pi_d_c_motor_ac324a1423bf3c3ed73e5df7ea9b2b92a}{Me\+Mega\+Pi\+DCMotor\+::run(int16\+\_\+t speed)}
\item void \doxylink{class_me_mega_pi_d_c_motor_a1df48e25908553976462a4d0e4413eda}{Me\+Mega\+Pi\+DCMotor\+::stop(void)}
\item void \doxylink{class_me_mega_pi_d_c_motor_a01f48a77e9fac7dcda0bba9dea5752aa}{Me\+Mega\+Pi\+DCMotor\+::reset(uint8\+\_\+t port)}
\end{DoxyEnumerate}

\begin{DoxyParagraph}{History\+:}

\begin{DoxyPre}
`<Author>`         `<Time>`        `<Version>`        `<Descr>`
Mark Yan         2016/02/20     1.0.0            Rebuild the new.
Mark Yan         2016/04/07     1.0.1            fix motor reset issue.
\end{DoxyPre}
 
\end{DoxyParagraph}
