X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=mtask.examples.tex;h=db15f5f3758f396597a7e1162d7465a2a5f98b70;hb=47820995aae3c8666173d17018ba6d09f8a3d9ff;hp=925b66ba7704b5e01e6e3abdc21dc5e4a8dc4c5a;hpb=6548a5ec9ce8e0df67fc4019625ab5238eb1bf71;p=msc-thesis1617.git diff --git a/mtask.examples.tex b/mtask.examples.tex index 925b66b..db15f5f 100644 --- a/mtask.examples.tex +++ b/mtask.examples.tex @@ -1,14 +1,15 @@ -Some example \gls{mTask}-\glspl{Task} using almost all of their functionality -are shown in Listing~\ref{lst:exmtask}. The \gls{mTask}-\glspl{Task} shown in -the example do not belong to a particular view and therefore are of the type -\CI{View t r}. The \CI{blink} \gls{mTask} show the classic \gls{Arduino} -blinking led application that blinks a certain \gls{LED} every second. The -\CI{thermostat} expression will enable a digital pin powering a cooling fan -when the analog pin representing a temperature sensor is too high. -\CI{thermostat`} shows the same expression but now using the assignment style -\gls{GPIO} technique. The \CI{thermostat} example also shows that it is not -necessary to run everything as a \CI{task}. The main program code can also just -consist of the contents of the root \CI{main} itself. +Some example \gls{mTask}-\glspl{Task} --- using almost all of their +functionality --- are shown in Listing~\ref{lst:exmtask}. The +\gls{mTask}-\glspl{Task} shown in the example do not belong to a particular +view and therefore are of the type \CI{View t r}. The \CI{blink} \gls{mTask} +show the classic \gls{Arduino} blinking led application that blinks a certain +\gls{LED} every second. The \CI{thermostat} expression will enable a digital +pin powering a cooling fan when the analog pin representing a temperature +sensor is too high. \CI{thermostat`} shows the same expression but now using +the assignment style \gls{GPIO} technique. The \CI{thermostat} example also +shows that it is not necessary to run everything as a \CI{task}. The main +program code can also just consist of the contents of the root \CI{main} +itself. \begin{lstlisting}[% label={lst:exmtask},caption={Some example \gls{mTask}-\glspl{Task}}]