\doxysection{Me\+Port Class Reference}
\hypertarget{class_me_port}{}\label{class_me_port}\index{MePort@{MePort}}


Port Mapping for RJ25.  




{\ttfamily \#include $<$src/\+Me\+Port.\+h$>$}



Inheritance diagram for Me\+Port\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{class_me_port__inherit__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_me_port_ae4b9e8e718b626d0ce4017a430878210}{Me\+Port}} (void)
\item 
\mbox{\hyperlink{class_me_port_a7a1d7cdf061740148cd893ba481420a3}{Me\+Port}} (uint8\+\_\+t port)
\item 
\mbox{\hyperlink{class_me_port_a1458b606f98da409d7ab4fa7d09c6816}{Me\+Port}} (uint8\+\_\+t port, uint8\+\_\+t slot)
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_a8d9ca22e35477573b27c4165ac61def0}{get\+Port}} (void)
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_a4c73dec349340e958b9567b06fa6f27c}{get\+Slot}} (void)
\item 
bool \mbox{\hyperlink{class_me_port_a8b7b990f5fa85dfc28f7f3d0d7ba46b9}{d\+Read1}} (uint8\+\_\+t mode=INPUT)
\item 
bool \mbox{\hyperlink{class_me_port_ab4fd13565335bd781da8f44bae803031}{d\+Read2}} (uint8\+\_\+t mode=INPUT)
\item 
bool \mbox{\hyperlink{class_me_port_aabcb0e1dc89942cf302b8cbac2cbd0a5}{dp\+Read1}} (void)
\item 
bool \mbox{\hyperlink{class_me_port_a2e4b6faf3e9494e819ccee47dfb8010e}{dp\+Read2}} (void)
\item 
void \mbox{\hyperlink{class_me_port_a9d5f60427202c26bc8da4b1e6a66c5c2}{d\+Write1}} (bool value)
\item 
void \mbox{\hyperlink{class_me_port_a0d9ee041f8361f45bcc83bed9577415f}{d\+Write2}} (bool value)
\item 
int16\+\_\+t \mbox{\hyperlink{class_me_port_acfd28b1ab8cc6af5bf8223446022525c}{a\+Read1}} (void)
\item 
int16\+\_\+t \mbox{\hyperlink{class_me_port_a63709dcbe9850c0d3baec1fed72809bf}{a\+Read2}} (void)
\item 
void \mbox{\hyperlink{class_me_port_adb4d7959f2059bf9986a8e5a631988ae}{a\+Write1}} (int16\+\_\+t value)
\item 
void \mbox{\hyperlink{class_me_port_a3834f0f30618ec31789d524dd367e44f}{a\+Write2}} (int16\+\_\+t value)
\item 
void \mbox{\hyperlink{class_me_port_a7b82ce913d98ecff906569d795073892}{reset}} (uint8\+\_\+t port)
\item 
void \mbox{\hyperlink{class_me_port_a91e3cca62e5f8fffead56f8104488d4d}{reset}} (uint8\+\_\+t port, uint8\+\_\+t slot)
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_a1ed16a0f863a618cc9f32b27015107e7}{pin1}} (void)
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_a8a1b3cd06dffbb48d40c3adf25011803}{pin2}} (void)
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_aea7dad0142d940c0395b1782fe5adeae}{pin}} (void)
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_a637d42b5a62d655b8517bc8a363206f3}{pin}} (uint8\+\_\+t port, uint8\+\_\+t slot)
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_ab5295b9e84ecedf3f93ab47cf8f10284}{s1}}
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_a6c09cece23372a6ab340512a0db3e37d}{s2}}
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_adc9cdd4e574061d41244fc662974544f}{\+\_\+port}}
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me_port_a4159543b593b047cd82fedab30b178b7}{\+\_\+slot}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Port Mapping for RJ25. 

Class\+: \doxylink{class_me_port}{Me\+Port}

\begin{DoxyParagraph}{Description}
Declaration of Class \doxylink{class_me_port}{Me\+Port}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Copyright (C), 2012-\/2016, Make\+Block}

\end{DoxyParagraph}


\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{class_me_port_ae4b9e8e718b626d0ce4017a430878210}\label{class_me_port_ae4b9e8e718b626d0ce4017a430878210} 
\index{MePort@{MePort}!MePort@{MePort}}
\index{MePort@{MePort}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{MePort()}{MePort()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily Me\+Port\+::\+Me\+Port (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

Alternate Constructor which can call your own function to map the \doxylink{class_me_port}{Me\+Port} to arduino port, no pins are used or initialized here \Hypertarget{class_me_port_a7a1d7cdf061740148cd893ba481420a3}\label{class_me_port_a7a1d7cdf061740148cd893ba481420a3} 
\index{MePort@{MePort}!MePort@{MePort}}
\index{MePort@{MePort}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{MePort()}{MePort()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily Me\+Port\+::\+Me\+Port (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{port }\end{DoxyParamCaption})}

Alternate Constructor which can call your own function to map the \doxylink{class_me_port}{Me\+Port} to arduino port, no pins are used or initialized here, but PWM frequency set to 976 Hz 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em port} & -\/ RJ25 port from PORT\+\_\+1 to M2 \\
\hline
\end{DoxyParams}
\Hypertarget{class_me_port_a1458b606f98da409d7ab4fa7d09c6816}\label{class_me_port_a1458b606f98da409d7ab4fa7d09c6816} 
\index{MePort@{MePort}!MePort@{MePort}}
\index{MePort@{MePort}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{MePort()}{MePort()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily Me\+Port\+::\+Me\+Port (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{port,  }\item[{uint8\+\_\+t}]{slot }\end{DoxyParamCaption})}

Alternate Constructor which can call your own function to map the \doxylink{class_me_port}{Me\+Port} to arduino port, no pins are used or initialized here, but PWM frequency set to 976 Hz 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em port} & -\/ RJ25 port from PORT\+\_\+1 to M2 \\
\hline
\mbox{\texttt{ in}}  & {\em slot} & -\/ SLOT1 or SLOT2 \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\Hypertarget{class_me_port_acfd28b1ab8cc6af5bf8223446022525c}\label{class_me_port_acfd28b1ab8cc6af5bf8223446022525c} 
\index{MePort@{MePort}!aRead1@{aRead1}}
\index{aRead1@{aRead1}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{aRead1()}{aRead1()}}
{\footnotesize\ttfamily int16\+\_\+t Me\+Port\+::a\+Read1 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
a\+Read1 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Read the analog value on slot1 of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Analog value from 0-\/1023 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a63709dcbe9850c0d3baec1fed72809bf}\label{class_me_port_a63709dcbe9850c0d3baec1fed72809bf} 
\index{MePort@{MePort}!aRead2@{aRead2}}
\index{aRead2@{aRead2}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{aRead2()}{aRead2()}}
{\footnotesize\ttfamily int16\+\_\+t Me\+Port\+::a\+Read2 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
a\+Read2 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Read the analog value on slot2 of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Analog value from 0-\/1023 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_adb4d7959f2059bf9986a8e5a631988ae}\label{class_me_port_adb4d7959f2059bf9986a8e5a631988ae} 
\index{MePort@{MePort}!aWrite1@{aWrite1}}
\index{aWrite1@{aWrite1}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{aWrite1()}{aWrite1()}}
{\footnotesize\ttfamily void Me\+Port\+::a\+Write1 (\begin{DoxyParamCaption}\item[{int16\+\_\+t}]{value }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
a\+Write1 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Set the PWM output value on slot1 of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ Analog value between 0 to 255 \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a3834f0f30618ec31789d524dd367e44f}\label{class_me_port_a3834f0f30618ec31789d524dd367e44f} 
\index{MePort@{MePort}!aWrite2@{aWrite2}}
\index{aWrite2@{aWrite2}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{aWrite2()}{aWrite2()}}
{\footnotesize\ttfamily void Me\+Port\+::a\+Write2 (\begin{DoxyParamCaption}\item[{int16\+\_\+t}]{value }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
a\+Write2 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Set the PWM output value on slot2 of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ Analog value between 0 to 255 \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_aabcb0e1dc89942cf302b8cbac2cbd0a5}\label{class_me_port_aabcb0e1dc89942cf302b8cbac2cbd0a5} 
\index{MePort@{MePort}!dpRead1@{dpRead1}}
\index{dpRead1@{dpRead1}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{dpRead1()}{dpRead1()}}
{\footnotesize\ttfamily bool Me\+Port\+::dp\+Read1 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
dp\+Read1 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Read the digital input value on slot1 of current RJ25 object\textquotesingle{}s port, the input mode set as INPUT\+\_\+\+PULLUP. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Digital input value 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a2e4b6faf3e9494e819ccee47dfb8010e}\label{class_me_port_a2e4b6faf3e9494e819ccee47dfb8010e} 
\index{MePort@{MePort}!dpRead2@{dpRead2}}
\index{dpRead2@{dpRead2}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{dpRead2()}{dpRead2()}}
{\footnotesize\ttfamily bool Me\+Port\+::dp\+Read2 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
dp\+Read2 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Read the digital input value on slot2 of current RJ25 object\textquotesingle{}s port, the input mode set as INPUT\+\_\+\+PULLUP. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Digital input value 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a8b7b990f5fa85dfc28f7f3d0d7ba46b9}\label{class_me_port_a8b7b990f5fa85dfc28f7f3d0d7ba46b9} 
\index{MePort@{MePort}!dRead1@{dRead1}}
\index{dRead1@{dRead1}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{dRead1()}{dRead1()}}
{\footnotesize\ttfamily bool Me\+Port\+::d\+Read1 (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{mode = {\ttfamily INPUT} }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
d\+Read1 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Read the digital input value on slot1 of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em mode} & -\/ digital input mode INPUT or INPUT\+\_\+\+PULLUP \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Digital input value 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_ab4fd13565335bd781da8f44bae803031}\label{class_me_port_ab4fd13565335bd781da8f44bae803031} 
\index{MePort@{MePort}!dRead2@{dRead2}}
\index{dRead2@{dRead2}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{dRead2()}{dRead2()}}
{\footnotesize\ttfamily bool Me\+Port\+::d\+Read2 (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{mode = {\ttfamily INPUT} }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
d\+Read2 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Read the digital input value on slot2 of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em mode} & -\/ digital input mode INPUT or INPUT\+\_\+\+PULLUP \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Digital input value 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a9d5f60427202c26bc8da4b1e6a66c5c2}\label{class_me_port_a9d5f60427202c26bc8da4b1e6a66c5c2} 
\index{MePort@{MePort}!dWrite1@{dWrite1}}
\index{dWrite1@{dWrite1}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{dWrite1()}{dWrite1()}}
{\footnotesize\ttfamily void Me\+Port\+::d\+Write1 (\begin{DoxyParamCaption}\item[{bool}]{value }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
d\+Write1 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Set the digital output value on slot1 of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ digital output value HIGH or LOW \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a0d9ee041f8361f45bcc83bed9577415f}\label{class_me_port_a0d9ee041f8361f45bcc83bed9577415f} 
\index{MePort@{MePort}!dWrite2@{dWrite2}}
\index{dWrite2@{dWrite2}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{dWrite2()}{dWrite2()}}
{\footnotesize\ttfamily void Me\+Port\+::d\+Write2 (\begin{DoxyParamCaption}\item[{bool}]{value }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
d\+Write2 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Set the digital output value on slot2 of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ digital output value HIGH or LOW \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a8d9ca22e35477573b27c4165ac61def0}\label{class_me_port_a8d9ca22e35477573b27c4165ac61def0} 
\index{MePort@{MePort}!getPort@{getPort}}
\index{getPort@{getPort}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{getPort()}{getPort()}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::get\+Port (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
get\+Port 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Get current valid port of current RJ25 object 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Port bumber from PORT\+\_\+1 to M2 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a4c73dec349340e958b9567b06fa6f27c}\label{class_me_port_a4c73dec349340e958b9567b06fa6f27c} 
\index{MePort@{MePort}!getSlot@{getSlot}}
\index{getSlot@{getSlot}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{getSlot()}{getSlot()}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::get\+Slot (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
get\+Slot 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Get current valid slot of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Slot bumber SLOT1 or SLOT2 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a637d42b5a62d655b8517bc8a363206f3}\label{class_me_port_a637d42b5a62d655b8517bc8a363206f3} 
\index{MePort@{MePort}!pin@{pin}}
\index{pin@{pin}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{pin()}{pin()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::pin (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{port,  }\item[{uint8\+\_\+t}]{slot }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
pin 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Return the arduino pin number of current RJ25 object\textquotesingle{}s port 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em port} & -\/ RJ25 port from PORT\+\_\+1 to M2 \\
\hline
\mbox{\texttt{ in}}  & {\em slot} & -\/ SLOT1 or SLOT2 \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
The PIN number of arduino 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_aea7dad0142d940c0395b1782fe5adeae}\label{class_me_port_aea7dad0142d940c0395b1782fe5adeae} 
\index{MePort@{MePort}!pin@{pin}}
\index{pin@{pin}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{pin()}{pin()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::pin (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
pin 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Return the arduino pin number of current RJ25 object\textquotesingle{}s port, if the RJ25 module have one available PIN. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
The PIN number of arduino 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a1ed16a0f863a618cc9f32b27015107e7}\label{class_me_port_a1ed16a0f863a618cc9f32b27015107e7} 
\index{MePort@{MePort}!pin1@{pin1}}
\index{pin1@{pin1}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{pin1()}{pin1()}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::pin1 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
pin1 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Return the arduino pin number of current RJ25 object\textquotesingle{}s slot1 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
The PIN number of arduino 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a8a1b3cd06dffbb48d40c3adf25011803}\label{class_me_port_a8a1b3cd06dffbb48d40c3adf25011803} 
\index{MePort@{MePort}!pin2@{pin2}}
\index{pin2@{pin2}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{pin2()}{pin2()}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::pin2 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
pin2 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Return the arduino pin number of current RJ25 object\textquotesingle{}s slot2 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
The PIN number of arduino 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a7b82ce913d98ecff906569d795073892}\label{class_me_port_a7b82ce913d98ecff906569d795073892} 
\index{MePort@{MePort}!reset@{reset}}
\index{reset@{reset}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{reset()}{reset()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Me\+Port\+::reset (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{port }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
reset 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Reset the RJ25 available PIN by its port 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em port} & -\/ RJ25 port from PORT\+\_\+1 to M2 \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a91e3cca62e5f8fffead56f8104488d4d}\label{class_me_port_a91e3cca62e5f8fffead56f8104488d4d} 
\index{MePort@{MePort}!reset@{reset}}
\index{reset@{reset}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{reset()}{reset()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Me\+Port\+::reset (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{port,  }\item[{uint8\+\_\+t}]{slot }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
reset 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Reset the RJ25 available PIN by its port and slot 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em port} & -\/ RJ25 port from PORT\+\_\+1 to M2 \\
\hline
\mbox{\texttt{ in}}  & {\em slot} & -\/ SLOT1 or SLOT2 \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}


\doxysubsection{Member Data Documentation}
\Hypertarget{class_me_port_adc9cdd4e574061d41244fc662974544f}\label{class_me_port_adc9cdd4e574061d41244fc662974544f} 
\index{MePort@{MePort}!\_port@{\_port}}
\index{\_port@{\_port}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{\_port}{\_port}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::\+\_\+port\hspace{0.3cm}{\ttfamily [protected]}}

\begin{DoxyParagraph}{Description}
Variables used to store the port 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a4159543b593b047cd82fedab30b178b7}\label{class_me_port_a4159543b593b047cd82fedab30b178b7} 
\index{MePort@{MePort}!\_slot@{\_slot}}
\index{\_slot@{\_slot}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{\_slot}{\_slot}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::\+\_\+slot\hspace{0.3cm}{\ttfamily [protected]}}

\begin{DoxyParagraph}{Description}
Variables used to store the slot 
\end{DoxyParagraph}
\Hypertarget{class_me_port_ab5295b9e84ecedf3f93ab47cf8f10284}\label{class_me_port_ab5295b9e84ecedf3f93ab47cf8f10284} 
\index{MePort@{MePort}!s1@{s1}}
\index{s1@{s1}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{s1}{s1}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::s1\hspace{0.3cm}{\ttfamily [protected]}}

\begin{DoxyParagraph}{Description}
Variables used to store the slot1 gpio number 
\end{DoxyParagraph}
\Hypertarget{class_me_port_a6c09cece23372a6ab340512a0db3e37d}\label{class_me_port_a6c09cece23372a6ab340512a0db3e37d} 
\index{MePort@{MePort}!s2@{s2}}
\index{s2@{s2}!MePort@{MePort}}
\doxysubsubsection{\texorpdfstring{s2}{s2}}
{\footnotesize\ttfamily uint8\+\_\+t Me\+Port\+::s2\hspace{0.3cm}{\ttfamily [protected]}}

\begin{DoxyParagraph}{Description}
Variables used to store the slot2 gpio number 
\end{DoxyParagraph}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
src/\mbox{\hyperlink{_me_port_8h}{Me\+Port.\+h}}\item 
src/\mbox{\hyperlink{_me_port_8cpp}{Me\+Port.\+cpp}}\end{DoxyCompactItemize}
