\doxysection{src/\+Me\+Ultrasonic\+Sensor.cpp File Reference}
\hypertarget{_me_ultrasonic_sensor_8cpp}{}\label{_me_ultrasonic_sensor_8cpp}\index{src/MeUltrasonicSensor.cpp@{src/MeUltrasonicSensor.cpp}}


Driver for Me ultrasonic sensor device.  


{\ttfamily \#include "{}Me\+Ultrasonic\+Sensor.\+h"{}}\newline
Include dependency graph for Me\+Ultrasonic\+Sensor.\+cpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{_me_ultrasonic_sensor_8cpp__incl}
\end{center}
\end{figure}


\doxysubsection{Detailed Description}
Driver for Me ultrasonic sensor device. 

\begin{DoxyAuthor}{Author}
Make\+Block 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
V1.\+0.\+2 
\end{DoxyVersion}
\begin{DoxyDate}{Date}
2016/06/25 
\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 ultrasonic sensor device, It supports ultrasonic sensor V3.\+0 provided by the Make\+Block.
\end{DoxyParagraph}
\begin{DoxyParagraph}{Method List\+:}

\end{DoxyParagraph}

\begin{DoxyEnumerate}
\item void \doxylink{class_me_ultrasonic_sensor_aebf1069f210e0dcd0a8d8d44e9810f63}{Me\+Ultrasonic\+Sensor\+::setpin(uint8\+\_\+t Signal\+Pin)}
\item double \doxylink{class_me_ultrasonic_sensor_a72ad8300b4ab09413acb1e3f0a54c208}{Me\+Ultrasonic\+Sensor\+::distance\+Cm(uint16\+\_\+t MAXcm)}
\item double \doxylink{class_me_ultrasonic_sensor_a1a4ed1ecf9c37b556c4514306347ee29}{Me\+Ultrasonic\+Sensor\+::distance\+Inch(uint16\+\_\+t MAXinch)}
\item long \doxylink{class_me_ultrasonic_sensor_ac2ccac04ce9765c9c4b33d878db32ff6}{Me\+Ultrasonic\+Sensor\+::measure(unsigned long timeout)}
\end{DoxyEnumerate}

\begin{DoxyParagraph}{History\+:}

\begin{DoxyPre}
`<Author>`         `<Time>`        `<Version>`        `<Descr>`
Mark Yan         2015/09/04     1.0.0            Rebuild the old lib.
Mark Yan         2015/11/16     1.0.1            Increase 100us delay, avoid ultrasonic read exception.
Mark Yan         2016/06/25     1.0.2            Modify Read mechanism of ultrasonic waves.
Vincent He       2019/03/28     1.0.3            Fix the bug that ultrasonic module ranging can only measure the maximum of 376cm.
\end{DoxyPre}
 
\end{DoxyParagraph}
