\hypertarget{group__lowerlevelledmeths}{}\section{Methods} \label{group__lowerlevelledmeths}\index{Methods@{Methods}} \subsection*{Functions} \begin{DoxyCompactItemize} \item void \hyperlink{group__lowerlevelledmeths_gab2514ca3994de3d64337dd6536fa6ef3}{Code\+Racer\+::set\+\_\+leds\+\_\+left\+\_\+stop\+\_\+frwd\+\_\+right} (ledstate leftled, ledstate stopled, ledstate frwdled, ledstate rightled) \begin{DoxyCompactList}\small\item\em Sets all of the 4 L\+E\+Ds to a ledstate (L\+E\+D\+ON, L\+E\+D\+O\+FF) \end{DoxyCompactList}\item void \hyperlink{group__lowerlevelledmeths_gab4319e66963b1b71a34370d73962fa78}{Code\+Racer\+::set\+\_\+leds\+\_\+all} (ledstate alleds) \begin{DoxyCompactList}\small\item\em Sets all of the 4 L\+E\+Ds to the same ledstate (L\+E\+D\+ON, L\+E\+D\+O\+FF) \end{DoxyCompactList}\item void \hyperlink{group__lowerlevelledmeths_gaa3f2ad08103127f2cb49344c33b666ea}{Code\+Racer\+::set\+\_\+leds\+\_\+all\+\_\+off} () \begin{DoxyCompactList}\small\item\em Sets all of the 4 L\+E\+Ds to the ledstate L\+E\+D\+O\+FF. \end{DoxyCompactList}\item void \hyperlink{group__lowerlevelledmeths_ga0c8b3d6ce992e1dcfd13fd86c9f89846}{Code\+Racer\+::set\+\_\+leds\+\_\+all\+\_\+on} () \begin{DoxyCompactList}\small\item\em Sets all of the 4 L\+E\+Ds to the ledstate L\+E\+D\+ON. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} \subsection{Function Documentation} \mbox{\Hypertarget{group__lowerlevelledmeths_gab2514ca3994de3d64337dd6536fa6ef3}\label{group__lowerlevelledmeths_gab2514ca3994de3d64337dd6536fa6ef3}} \index{Methods@{Methods}!set\+\_\+leds\+\_\+left\+\_\+stop\+\_\+frwd\+\_\+right@{set\+\_\+leds\+\_\+left\+\_\+stop\+\_\+frwd\+\_\+right}} \index{set\+\_\+leds\+\_\+left\+\_\+stop\+\_\+frwd\+\_\+right@{set\+\_\+leds\+\_\+left\+\_\+stop\+\_\+frwd\+\_\+right}!Methods@{Methods}} \subsubsection{\texorpdfstring{set\+\_\+leds\+\_\+left\+\_\+stop\+\_\+frwd\+\_\+right()}{set\_leds\_left\_stop\_frwd\_right()}} {\footnotesize\ttfamily void Code\+Racer\+::set\+\_\+leds\+\_\+left\+\_\+stop\+\_\+frwd\+\_\+right (\begin{DoxyParamCaption}\item[{ledstate}]{leftled, }\item[{ledstate}]{stopled, }\item[{ledstate}]{frwdled, }\item[{ledstate}]{rightled }\end{DoxyParamCaption})} Sets all of the 4 L\+E\+Ds to a ledstate (L\+E\+D\+ON, L\+E\+D\+O\+FF) \begin{DoxyParams}{Parameters} {\em leftled} & set state of status left L\+ED (most left yellow led) \\ \hline {\em stopled} & set state of status stop L\+ED (red led) \\ \hline {\em frwdled} & set state of status forward L\+ED (green or blue led) \\ \hline {\em rightled} & set state of status right L\+ED (most right yellow led) \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} nothing \end{DoxyReturn} Definition at line 1037 of file Code\+Racer.\+cpp. \begin{DoxyCode} 1037 \{ 1038 digitalWrite(\_led\_left\_pin, leftled); 1039 digitalWrite(\_led\_frwd\_pin, frwdled); 1040 digitalWrite(\_led\_right\_pin, rightled); 1041 digitalWrite(\_led\_stop\_pin, stopled); 1042 \} \end{DoxyCode} \mbox{\Hypertarget{group__lowerlevelledmeths_gab4319e66963b1b71a34370d73962fa78}\label{group__lowerlevelledmeths_gab4319e66963b1b71a34370d73962fa78}} \index{Methods@{Methods}!set\+\_\+leds\+\_\+all@{set\+\_\+leds\+\_\+all}} \index{set\+\_\+leds\+\_\+all@{set\+\_\+leds\+\_\+all}!Methods@{Methods}} \subsubsection{\texorpdfstring{set\+\_\+leds\+\_\+all()}{set\_leds\_all()}} {\footnotesize\ttfamily void Code\+Racer\+::set\+\_\+leds\+\_\+all (\begin{DoxyParamCaption}\item[{ledstate}]{alleds }\end{DoxyParamCaption})} Sets all of the 4 L\+E\+Ds to the same ledstate (L\+E\+D\+ON, L\+E\+D\+O\+FF) \begin{DoxyParams}{Parameters} {\em alleds} & set state to all status L\+E\+Ds \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} nothing \end{DoxyReturn} Definition at line 1048 of file Code\+Racer.\+cpp. \begin{DoxyCode} 1048 \{ 1049 digitalWrite(\_led\_left\_pin, alleds); 1050 digitalWrite(\_led\_frwd\_pin, alleds); 1051 digitalWrite(\_led\_right\_pin, alleds); 1052 digitalWrite(\_led\_stop\_pin, alleds); 1053 \} \end{DoxyCode} \mbox{\Hypertarget{group__lowerlevelledmeths_gaa3f2ad08103127f2cb49344c33b666ea}\label{group__lowerlevelledmeths_gaa3f2ad08103127f2cb49344c33b666ea}} \index{Methods@{Methods}!set\+\_\+leds\+\_\+all\+\_\+off@{set\+\_\+leds\+\_\+all\+\_\+off}} \index{set\+\_\+leds\+\_\+all\+\_\+off@{set\+\_\+leds\+\_\+all\+\_\+off}!Methods@{Methods}} \subsubsection{\texorpdfstring{set\+\_\+leds\+\_\+all\+\_\+off()}{set\_leds\_all\_off()}} {\footnotesize\ttfamily void Code\+Racer\+::set\+\_\+leds\+\_\+all\+\_\+off (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} Sets all of the 4 L\+E\+Ds to the ledstate L\+E\+D\+O\+FF. \begin{DoxyReturn}{Returns} nothing \end{DoxyReturn} Definition at line 1058 of file Code\+Racer.\+cpp. \begin{DoxyCode} 1058 \{ 1059 set\_leds\_all(LEDOFF); 1060 \} \end{DoxyCode} \mbox{\Hypertarget{group__lowerlevelledmeths_ga0c8b3d6ce992e1dcfd13fd86c9f89846}\label{group__lowerlevelledmeths_ga0c8b3d6ce992e1dcfd13fd86c9f89846}} \index{Methods@{Methods}!set\+\_\+leds\+\_\+all\+\_\+on@{set\+\_\+leds\+\_\+all\+\_\+on}} \index{set\+\_\+leds\+\_\+all\+\_\+on@{set\+\_\+leds\+\_\+all\+\_\+on}!Methods@{Methods}} \subsubsection{\texorpdfstring{set\+\_\+leds\+\_\+all\+\_\+on()}{set\_leds\_all\_on()}} {\footnotesize\ttfamily void Code\+Racer\+::set\+\_\+leds\+\_\+all\+\_\+on (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} Sets all of the 4 L\+E\+Ds to the ledstate L\+E\+D\+ON. \begin{DoxyReturn}{Returns} nothing \end{DoxyReturn} Definition at line 1065 of file Code\+Racer.\+cpp. \begin{DoxyCode} 1065 \{ 1066 set\_leds\_all(LEDON); 1067 \} \end{DoxyCode}