diff --git a/Vorträge/arduino/arduino.tex b/Vorträge/arduino/arduino.tex index 2c51bea..3c81b48 100644 --- a/Vorträge/arduino/arduino.tex +++ b/Vorträge/arduino/arduino.tex @@ -10,6 +10,7 @@ \usepackage{amsmath,amsfonts,graphicx} \usepackage{multicol} \usepackage{hyperref} +\usepackage{colortbl} \usepackage{listings} \lstset{language=C} @@ -33,6 +34,8 @@ \newcommand{\weblink}[1]{\textcolor{blue}{\href{#1}{#1}}} \definecolor{darkblue}{rgb}{0,0,.45} +\definecolor{gold}{rgb}{.854,.674,.125} +\definecolor{silver}{rgb}{.752,.752,.752} \newcommand{\cfunc}[1]{\texttt{\textcolor{darkblue}{#1}}} \author{Fisch, Stefan, Tunix} diff --git a/Vorträge/arduino/bilder/resistor_220.pdf b/Vorträge/arduino/bilder/resistor_220.pdf new file mode 100644 index 0000000..1c580b9 Binary files /dev/null and b/Vorträge/arduino/bilder/resistor_220.pdf differ diff --git a/Vorträge/arduino/kapitel/led_auf_shield.tex b/Vorträge/arduino/kapitel/led_auf_shield.tex index 7913887..46e2da0 100644 --- a/Vorträge/arduino/kapitel/led_auf_shield.tex +++ b/Vorträge/arduino/kapitel/led_auf_shield.tex @@ -168,9 +168,31 @@ \begin{frame} - \frametitle{Grundlagen -- Widerstand} - %TODO: Widerstandsringe erklären - + \frametitle[fragile]{Grundlagen -- Widerstand Farbcode} + \begin{columns}[T] + \column{.90\textwidth} + \scriptsize{\begin{tabular}{|l|c|c|c|c|c|r|} + \hline \textbf{Farbe} & & \textbf{1. Ring} & \textbf{2. Ring} & \textbf{3. Ring} & \textbf{Muliplizierer} & \textbf {Toleranz} \\ + \hline scharz & \cellcolor{black} & 0 & 0 & 0 & 1$\Omega$ & \\ + \hline braun & \cellcolor{brown} & 1 & 1 & 1 & 10$\Omega$ & $\pm$1\% \\ + \hline rot & \cellcolor{red} & 2 & 2 & 2 & 100$\Omega$ & $\pm$2\% \\ + \hline orange & \cellcolor{orange} & 3 & 3 & 3 & 1K$\Omega$ & \\ + \hline gelb & \cellcolor{yellow} & 4 & 4 & 4 & 10K$\Omega$ & \\ + \hline grün & \cellcolor{green} & 5 & 5 & 5 & 100K$\Omega$ & $\pm$0,5\% \\ + \hline blau & \cellcolor{blue} & 6 & 6 & 6 & 1M$\Omega$ & $\pm$0,25\% \\ + \hline violett & \cellcolor{violet} & 7 & 7 & 7 & 10M$\Omega$ & $\pm$0,10\% \\ + \hline grau & \cellcolor{gray} & 8 & 8 & 8 & & $\pm$0,05\% \\ + \hline weiß & \cellcolor{white} & 9 & 9 & 9 & & \\ + \hline gold & \cellcolor{gold} & & & & 0,1$\Omega$ & $\pm$5\% \\ + \hline silver & \cellcolor{silver} & & & & 0,01$\Omega$ & $\pm$10\% \\ + \hline + \end{tabular}} + \column{.10\textwidth} + \begin{center} + \includegraphics{bilder/resistor_220.pdf} \\ + 220$\Omega$ + \end{center} + \end{columns} \end{frame} \begin{frame}