X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=appx%2Fmtask_aux.tex;h=ffeb74e5fb395e45e1b218f24bab9553117d02fa;hb=c45698c752780ef2bf45ae9f8085585e9eee1d18;hp=4a879744d7534c251a8244e460b9f2f9455edc77;hpb=3fe94feeee0efd1922263aca9d578031e2283f61;p=phd-thesis.git diff --git a/appx/mtask_aux.tex b/appx/mtask_aux.tex index 4a87974..ffeb74e 100644 --- a/appx/mtask_aux.tex +++ b/appx/mtask_aux.tex @@ -1,10 +1,8 @@ \documentclass[../thesis.tex]{subfiles} -\begin{document} -\ifSubfilesClassLoaded{ - \pagenumbering{arabic} -}{} +\include{subfilepreamble} +\begin{document} \chapter{Auxiliary \texorpdfstring{\glsentrytext{MTASK}}{mTask} type classes}% \label{chp:mtask_aux} \lstset{basicstyle=\tt\footnotesize} @@ -97,7 +95,7 @@ where \end{lstClean} \subsection{\texorpdfstring{\gls{I2C}}{I\textsuperscript{2}C} buttons} -The \gls{MTASK} language supports one type of \gls{I2C} buttons (the \gls{I2C} buttons from the WEMOS d1 mini \gls{OLED} shield). +The \gls{MTASK} language supports one type of \gls{I2C} buttons (the \gls{I2C} buttons from the \gls{WEMOS} d1 mini \gls{OLED} shield). The buttons from this shield provide more information than just the status (see \cleaninline{ButtonStatus}). The complete interface containing the constructor and the measurement tasks is shown in \cref{lst:mtask_i2cbutton}. @@ -116,7 +114,7 @@ class i2cbutton v where \end{lstClean} \subsection{\texorpdfstring{\gls{LED}}{LED} matrix} -The \gls{MTASK} language supports one type of \gls{LED} matrix (the $8\times8$ \gls{LED} matrix shield for the WEMOS d1 mini). +The \gls{MTASK} language supports one type of \gls{LED} matrix (the $8\times8$ \gls{LED} matrix shield for the \gls{WEMOS} d1 mini). Instead of containing a \gls{TOP}-like interface, the \gls{ARDUINO} interface is directly translated to \gls{MTASK}. As a result, every task immediately returns a stable value indicating the result. The complete interface containing the constructor and the interaction tasks is shown in \cref{lst:mtask_ledmatrix}.