\doxysection{Me7\+Segment\+Display Class Reference}
\hypertarget{class_me7_segment_display}{}\label{class_me7_segment_display}\index{Me7SegmentDisplay@{Me7SegmentDisplay}}


Class for numeric display module.  




{\ttfamily \#include $<$src/\+Me7\+Segment\+Display.\+h$>$}



Inheritance diagram for Me7\+Segment\+Display\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=186pt]{class_me7_segment_display__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for Me7\+Segment\+Display\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=186pt]{class_me7_segment_display__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_me7_segment_display_a0c19f7b481f2f4be039b1eee70b5057d}{Me7\+Segment\+Display}} (void)
\item 
\mbox{\hyperlink{class_me7_segment_display_aa6bf9e53244dbd5b4432dbe96041cade}{Me7\+Segment\+Display}} (uint8\+\_\+t port)
\item 
void \mbox{\hyperlink{class_me7_segment_display_ac8d890fddfbd86a221d2d990ff8a405a}{reset}} (uint8\+\_\+t port)
\item 
void \mbox{\hyperlink{class_me7_segment_display_a47525c61c0cdc531272eb50395df3ed1}{init}} (void)
\item 
void \mbox{\hyperlink{class_me7_segment_display_a761c4852237699b3504f901c3a30166c}{set}} (uint8\+\_\+t=BRIGHTNESS\+\_\+2, uint8\+\_\+t=ADDR\+\_\+\+AUTO, uint8\+\_\+t=STARTADDR)
\item 
void \mbox{\hyperlink{class_me7_segment_display_a76d0b14ce4e0146ab1620dd462014caa}{setpin}} (uint8\+\_\+t data\+Pin, uint8\+\_\+t clk\+Pin)
\item 
void \mbox{\hyperlink{class_me7_segment_display_a4b5cfc6eea577542021edf8f812bff2f}{write}} (uint8\+\_\+t Seg\+Data\mbox{[}$\,$\mbox{]})
\item 
void \mbox{\hyperlink{class_me7_segment_display_a1057d40d5daa2f12170c95be7412bdb8}{write}} (uint8\+\_\+t Bit\+Addr, uint8\+\_\+t Seg\+Data)
\item 
void \mbox{\hyperlink{class_me7_segment_display_ac1d7b706bf23e38fbdf60b1caad42a4e}{display}} (uint16\+\_\+t value)
\item 
void \mbox{\hyperlink{class_me7_segment_display_aa35ed6811fb58e993044cce7ce0e24d6}{display}} (int16\+\_\+t value)
\item 
void \mbox{\hyperlink{class_me7_segment_display_afb865fca3b56cec660fc78315d5a9268}{display}} (float value)
\item 
void \mbox{\hyperlink{class_me7_segment_display_a2152dcfb004b08bb5a2c04b7b2ad99c5}{display}} (long value)
\item 
int16\+\_\+t \mbox{\hyperlink{class_me7_segment_display_a50109f40f87591fbe2a907768b03678c}{check\+Num}} (float v, int16\+\_\+t b)
\item 
void \mbox{\hyperlink{class_me7_segment_display_a9a45a56ed65a1ecdcc10066825db0130}{display}} (double value, uint8\+\_\+t=1)
\item 
void \mbox{\hyperlink{class_me7_segment_display_a763ccddf8a9fa6469713451505518808}{display}} (uint8\+\_\+t Disp\+Data\mbox{[}$\,$\mbox{]})
\item 
void \mbox{\hyperlink{class_me7_segment_display_a2eb95cdb42445ae3f07b4c8bb586e24e}{display}} (uint8\+\_\+t Bit\+Addr, uint8\+\_\+t Disp\+Data)
\item 
void \mbox{\hyperlink{class_me7_segment_display_aef9737e226fe1158098c3cc35329f2cf}{display}} (uint8\+\_\+t Bit\+Addr, uint8\+\_\+t Disp\+Data, uint8\+\_\+t point\+\_\+on)
\item 
void \mbox{\hyperlink{class_me7_segment_display_aa7cf32e953eae84bde132cc38e1b91db}{clear\+Display}} (void)
\item 
void \mbox{\hyperlink{class_me7_segment_display_a7761bf8b50f0a91a3c2b27b1230b1132}{set\+Brightness}} (uint8\+\_\+t brightness)
\item 
void \mbox{\hyperlink{class_me7_segment_display_ad19ac6b355cc8da9e77c2fee4a908814}{coding}} (uint8\+\_\+t Disp\+Data\mbox{[}$\,$\mbox{]})
\item 
uint8\+\_\+t \mbox{\hyperlink{class_me7_segment_display_a496b175e3deca8df9709233b09194673}{coding}} (uint8\+\_\+t Disp\+Data)
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{class_me_port}{Me\+Port}}}
\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*{Additional Inherited Members}
\doxysubsection*{Protected Attributes inherited from \mbox{\hyperlink{class_me_port}{Me\+Port}}}
\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}
Class for numeric display module. 

Driver for Me 7-\/Segment Serial Display module.

Class\+: \doxylink{class_me7_segment_display}{Me7\+Segment\+Display} \begin{DoxyParagraph}{Description}
Declaration of Class \doxylink{class_me7_segment_display}{Me7\+Segment\+Display}.
\end{DoxyParagraph}
\begin{DoxyParagraph}{Copyright (C), 2012-\/2016, Make\+Block}

\end{DoxyParagraph}


\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{class_me7_segment_display_a0c19f7b481f2f4be039b1eee70b5057d}\label{class_me7_segment_display_a0c19f7b481f2f4be039b1eee70b5057d} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{Me7SegmentDisplay()}{Me7SegmentDisplay()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Me7\+Segment\+Display\+::\+Me7\+Segment\+Display (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

Alternate Constructor which can call your own function to map the 7-\/Segment display to arduino port, no pins are used or initialized here. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em None} & \\
\hline
\end{DoxyParams}
\Hypertarget{class_me7_segment_display_aa6bf9e53244dbd5b4432dbe96041cade}\label{class_me7_segment_display_aa6bf9e53244dbd5b4432dbe96041cade} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{Me7SegmentDisplay()}{Me7SegmentDisplay()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Me7\+Segment\+Display\+::\+Me7\+Segment\+Display (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{port }\end{DoxyParamCaption})}

Alternate Constructor which can call your own function to map the 7-\/Segment display to arduino port, the slot1 will be used for data pin and slot2 will used for clk pin. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em port} & -\/ RJ25 port from PORT\+\_\+1 to M2 \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\Hypertarget{class_me7_segment_display_a50109f40f87591fbe2a907768b03678c}\label{class_me7_segment_display_a50109f40f87591fbe2a907768b03678c} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!checkNum@{checkNum}}
\index{checkNum@{checkNum}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{checkNum()}{checkNum()}}
{\footnotesize\ttfamily int16\+\_\+t Me7\+Segment\+Display\+::check\+Num (\begin{DoxyParamCaption}\item[{float}]{v,  }\item[{int16\+\_\+t}]{b }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
check\+Num 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Extraction values to be displayed of float data 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em v} & -\/ Value to display. \\
\hline
\mbox{\texttt{ in}}  & {\em b} & -\/ Value to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
The data removal of the decimal point 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_aa7cf32e953eae84bde132cc38e1b91db}\label{class_me7_segment_display_aa7cf32e953eae84bde132cc38e1b91db} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!clearDisplay@{clearDisplay}}
\index{clearDisplay@{clearDisplay}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{clearDisplay()}{clearDisplay()}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::clear\+Display (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\textbackslash{}\+Function clear\+Display \textbackslash{}\+Description Clear display. \begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Return}
None 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Others}
None
\end{DoxyParagraph}
\textbackslash{}\+Function clear\+Display \textbackslash{}\+Description Clear display. \begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Return}
None 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Others}

\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a496b175e3deca8df9709233b09194673}\label{class_me7_segment_display_a496b175e3deca8df9709233b09194673} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!coding@{coding}}
\index{coding@{coding}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{coding()}{coding()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily uint8\+\_\+t Me7\+Segment\+Display\+::coding (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Disp\+Data }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
coding 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Return display data from look up table. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Disp\+Data} & -\/ Data need be transcoded. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
Return the value of transcoding 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_ad19ac6b355cc8da9e77c2fee4a908814}\label{class_me7_segment_display_ad19ac6b355cc8da9e77c2fee4a908814} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!coding@{coding}}
\index{coding@{coding}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{coding()}{coding()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::coding (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Disp\+Data\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
coding 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Set display data using look up table. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Disp\+Data\mbox{[}$\,$\mbox{]}} & -\/ Data\+Array to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
Disp\+Data\mbox{[}\mbox{]} -\/ Data\+Array be transcoded. 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a9a45a56ed65a1ecdcc10066825db0130}\label{class_me7_segment_display_a9a45a56ed65a1ecdcc10066825db0130} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!display@{display}}
\index{display@{display}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{display()}{display()}\hspace{0.1cm}{\footnotesize\ttfamily [1/8]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::display (\begin{DoxyParamCaption}\item[{double}]{value,  }\item[{uint8\+\_\+t}]{digits = {\ttfamily 1} }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
display 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Display double number. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ Value to display. \\
\hline
\mbox{\texttt{ in}}  & {\em digits} & -\/ Number of digits to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_afb865fca3b56cec660fc78315d5a9268}\label{class_me7_segment_display_afb865fca3b56cec660fc78315d5a9268} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!display@{display}}
\index{display@{display}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{display()}{display()}\hspace{0.1cm}{\footnotesize\ttfamily [2/8]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::display (\begin{DoxyParamCaption}\item[{float}]{value }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
display 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Display certain value, and this value type is float 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ Value to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_aa35ed6811fb58e993044cce7ce0e24d6}\label{class_me7_segment_display_aa35ed6811fb58e993044cce7ce0e24d6} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!display@{display}}
\index{display@{display}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{display()}{display()}\hspace{0.1cm}{\footnotesize\ttfamily [3/8]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::display (\begin{DoxyParamCaption}\item[{int16\+\_\+t}]{value }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
display 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Display certain value, and this value type is int16\+\_\+t 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ Value to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a2152dcfb004b08bb5a2c04b7b2ad99c5}\label{class_me7_segment_display_a2152dcfb004b08bb5a2c04b7b2ad99c5} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!display@{display}}
\index{display@{display}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{display()}{display()}\hspace{0.1cm}{\footnotesize\ttfamily [4/8]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::display (\begin{DoxyParamCaption}\item[{long}]{value }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
display 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Display certain value, and this value type is long 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ Value to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_ac1d7b706bf23e38fbdf60b1caad42a4e}\label{class_me7_segment_display_ac1d7b706bf23e38fbdf60b1caad42a4e} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!display@{display}}
\index{display@{display}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{display()}{display()}\hspace{0.1cm}{\footnotesize\ttfamily [5/8]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::display (\begin{DoxyParamCaption}\item[{uint16\+\_\+t}]{value }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
display 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Display certain value, and this value type is uint16\+\_\+t 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em value} & -\/ Value to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a2eb95cdb42445ae3f07b4c8bb586e24e}\label{class_me7_segment_display_a2eb95cdb42445ae3f07b4c8bb586e24e} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!display@{display}}
\index{display@{display}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{display()}{display()}\hspace{0.1cm}{\footnotesize\ttfamily [6/8]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::display (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Bit\+Addr,  }\item[{uint8\+\_\+t}]{Disp\+Data }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
display 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Display data to certain digit. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Bit\+Addr} & -\/ Address to display. \\
\hline
\mbox{\texttt{ in}}  & {\em Disp\+Data} & -\/ Data to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_aef9737e226fe1158098c3cc35329f2cf}\label{class_me7_segment_display_aef9737e226fe1158098c3cc35329f2cf} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!display@{display}}
\index{display@{display}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{display()}{display()}\hspace{0.1cm}{\footnotesize\ttfamily [7/8]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::display (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Bit\+Addr,  }\item[{uint8\+\_\+t}]{Disp\+Data,  }\item[{uint8\+\_\+t}]{point\+\_\+on }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
display 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Display data to certain digit. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Bit\+Addr} & -\/ Address to display. \\
\hline
\mbox{\texttt{ in}}  & {\em Disp\+Data} & -\/ Data to display. \\
\hline
\mbox{\texttt{ in}}  & {\em point\+\_\+on} & -\/ Display the point or not. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a763ccddf8a9fa6469713451505518808}\label{class_me7_segment_display_a763ccddf8a9fa6469713451505518808} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!display@{display}}
\index{display@{display}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{display()}{display()}\hspace{0.1cm}{\footnotesize\ttfamily [8/8]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::display (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Disp\+Data\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
display 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Display 8 bit number array. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Disp\+Data\mbox{[}$\,$\mbox{]}} & -\/ The data that needs to be displayed store in this array. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a47525c61c0cdc531272eb50395df3ed1}\label{class_me7_segment_display_a47525c61c0cdc531272eb50395df3ed1} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!init@{init}}
\index{init@{init}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{init()}{init()}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
init 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Initialization the display, here just call function clear\+Display. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Output }
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None \textbackslash{}others None 
\end{DoxyReturn}
\Hypertarget{class_me7_segment_display_ac8d890fddfbd86a221d2d990ff8a405a}\label{class_me7_segment_display_ac8d890fddfbd86a221d2d990ff8a405a} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!reset@{reset}}
\index{reset@{reset}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{reset()}{reset()}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::reset (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{port }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
reset 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Reset the port for Seven-\/\+Segment LED module, the prot here is RJ25 port from PORT\+\_\+1 to M2. 
\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{DoxyParagraph}{Return}
None 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Others}
Set global variable \+\_\+data\+Pin and \+\_\+clk\+Pin 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a761c4852237699b3504f901c3a30166c}\label{class_me7_segment_display_a761c4852237699b3504f901c3a30166c} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!set@{set}}
\index{set@{set}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{set()}{set()}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::set (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{brightness = {\ttfamily BRIGHTNESS\+\_\+2},  }\item[{uint8\+\_\+t}]{Set\+Data = {\ttfamily ADDR\+\_\+AUTO},  }\item[{uint8\+\_\+t}]{Set\+Addr = {\ttfamily STARTADDR} }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
set 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Set brightness, data and address. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em brightness} & -\/ Brightness, defined in \doxylink{_me7_segment_display_8h}{Me7\+Segment\+Display.\+h} from BRIGHTNESS\+\_\+0 to BRIGHTNESS\+\_\+7. \\
\hline
\mbox{\texttt{ in}}  & {\em Set\+Data} & -\/ First address for display data \\
\hline
\mbox{\texttt{ in}}  & {\em Set\+Addr} & -\/ First address for display \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
Cmd\+\_\+\+Set\+Data -\/ Private variable Cmd\+\_\+\+Set\+Data of class \doxylink{class_me7_segment_display}{Me7\+Segment\+Display}. Cmd\+\_\+\+Set\+Addr -\/ Private variable Cmd\+\_\+\+Set\+Addr of class \doxylink{class_me7_segment_display}{Me7\+Segment\+Display}. Cmd\+\_\+\+Disp\+Ctrl -\/ Control command for Me 7 Segment Serial Display module. 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a7761bf8b50f0a91a3c2b27b1230b1132}\label{class_me7_segment_display_a7761bf8b50f0a91a3c2b27b1230b1132} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!setBrightness@{setBrightness}}
\index{setBrightness@{setBrightness}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{setBrightness()}{setBrightness()}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::set\+Brightness (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{brightness }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
set\+Brightness 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Set brightness. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em brightness} & -\/ Brightness, defined in \doxylink{_me7_segment_display_8h}{Me7\+Segment\+Display.\+h} from BRIGHTNESS\+\_\+0 to BRIGHTNESS\+\_\+7. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
Cmd\+\_\+\+Disp\+Ctrl -\/ Control command for Me 7 Segment Serial Display module. 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a76d0b14ce4e0146ab1620dd462014caa}\label{class_me7_segment_display_a76d0b14ce4e0146ab1620dd462014caa} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!setpin@{setpin}}
\index{setpin@{setpin}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{setpin()}{setpin()}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::setpin (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{data\+Pin,  }\item[{uint8\+\_\+t}]{clk\+Pin }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
setpin 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Reset Seven-\/\+Segment LED module\textquotesingle{}s data pin and its clock pin then clear display. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em data\+Pin} & -\/ The DATA pin for Seven-\/\+Segment LED module(arduino port). \\
\hline
\mbox{\texttt{ in}}  & {\em clk\+Pin} & -\/ The CLK pin for Seven-\/\+Segment LED module(arduino port). \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Return}
None 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Others}
Set global variable \+\_\+\+Key\+Pin and \+\_\+clk\+Pin 
\end{DoxyParagraph}
\Hypertarget{class_me7_segment_display_a1057d40d5daa2f12170c95be7412bdb8}\label{class_me7_segment_display_a1057d40d5daa2f12170c95be7412bdb8} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!write@{write}}
\index{write@{write}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{write()}{write()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::write (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Bit\+Addr,  }\item[{uint8\+\_\+t}]{Seg\+Data }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
write 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
Write data to certain address. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Bit\+Addr} & -\/ Bit address of data. \\
\hline
\mbox{\texttt{ in}}  & {\em Seg\+Data} & -\/ Data to display. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None \textbackslash{}others None 
\end{DoxyReturn}
\Hypertarget{class_me7_segment_display_a4b5cfc6eea577542021edf8f812bff2f}\label{class_me7_segment_display_a4b5cfc6eea577542021edf8f812bff2f} 
\index{Me7SegmentDisplay@{Me7SegmentDisplay}!write@{write}}
\index{write@{write}!Me7SegmentDisplay@{Me7SegmentDisplay}}
\doxysubsubsection{\texorpdfstring{write()}{write()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Me7\+Segment\+Display\+::write (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Seg\+Data\mbox{[}$\,$\mbox{]} }\end{DoxyParamCaption})}

\begin{DoxyParagraph}{Function}
write 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Description}
White data array to certain address. 
\end{DoxyParagraph}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em Seg\+Data\mbox{[}$\,$\mbox{]}} & -\/ Data array to write to module. \\
\hline
\end{DoxyParams}
\begin{DoxyParagraph}{Output}
None 
\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
None 
\end{DoxyReturn}
\begin{DoxyParagraph}{Others}
None 
\end{DoxyParagraph}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
src/\mbox{\hyperlink{_me7_segment_display_8h}{Me7\+Segment\+Display.\+h}}\item 
src/\mbox{\hyperlink{_me7_segment_display_8cpp}{Me7\+Segment\+Display.\+cpp}}\end{DoxyCompactItemize}
