-
Notifications
You must be signed in to change notification settings - Fork 0
/
011_Motors.tex
62 lines (49 loc) · 1.55 KB
/
011_Motors.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
%
% Manchester Raspberry Jam Workshop Booklet
%
% This template is designed to try and aide consistency between each booklet.
% Insert files as instructed by comments, things like tables of contents are created by other linked files
%
% Is this document PRINT or WEB format?
% use \printtrue or \printfalse
\newif\ifprint
\printfalse
\input{McrRaspJam/common/preamble}
% Enter the document title here
\newcommand{\workshopTitle}{Workshop 11: GPIO \& Motors}
% Enter the author of this workshop
\newcommand{\workshopAuthor}{Jack Kelly}
\begin{document}
\input{McrRaspJam/common/booklet_title}
%Place a SINGLE paragraph summary here
In this workshop, we'll learn about motor controller chips, and make a breadboard circuit to drive a motor.
%Difficulty
\textit{Difficulty: Intermediate workshop}
\ifprint
\renewcommand{\baselinestretch}{0.75}\normalsize
\tableofcontents
\renewcommand{\baselinestretch}{1.0}\normalsize
\else
\tableofcontents
\fi
%
% Input the main CONTENT below, sans title page or contents.
% Recommend inputting per section, and adding page breaks here.
%
% \webclearpage command is provided, will break page for web format only.
%
\input{McrRaspJam/011_Motors/0_introduction}
\clearpage
\input{McrRaspJam/011_Motors/1_LED}
\webclearpage
\input{McrRaspJam/011_Motors/2_Motor}
\webclearpage
\begin{appendices}
\input{McrRaspJam/011_Motors/a1_GPIO}
\input{McrRaspJam/011_Motors/a2_Motorcontroller}
\ifprint\else
\clearpage
\input{McrRaspJam/011_Motors/a0_Codelisting}
\fi
\end{appendices}
\end{document}