summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudhakarKuma2021-04-08 23:28:45 +0530
committerSudhakarKuma2021-04-08 23:28:45 +0530
commite6ab9685dd97826e25507c35d95747247b58a4af (patch)
tree5a38cb52f6b5a81a31ab2539878202a0f598f251
parent584d9c47a6da270a6fd9477be56bae8bd898c7a6 (diff)
downloadFLOSS-Arduino-Book-e6ab9685dd97826e25507c35d95747247b58a4af.tar.gz
FLOSS-Arduino-Book-e6ab9685dd97826e25507c35d95747247b58a4af.tar.bz2
FLOSS-Arduino-Book-e6ab9685dd97826e25507c35d95747247b58a4af.zip
Add pot
-rw-r--r--floss-arduino.OpenModelicad30
-rw-r--r--floss-arduino.ard24
-rw-r--r--floss-arduino.aux1619
-rw-r--r--floss-arduino.cod32
-rw-r--r--floss-arduino.fdb_latexmk68
-rw-r--r--floss-arduino.fls12
-rw-r--r--floss-arduino.idx10
-rw-r--r--floss-arduino.ind10
-rw-r--r--floss-arduino.juliad30
-rw-r--r--floss-arduino.lof86
-rw-r--r--floss-arduino.log397
-rw-r--r--floss-arduino.lot50
-rw-r--r--floss-arduino.pdfbin24013496 -> 24413688 bytes
-rw-r--r--floss-arduino.pyd30
-rw-r--r--floss-arduino.thm164
-rw-r--r--floss-arduino.toc209
-rw-r--r--indent.log25
-rw-r--r--user-code/ldr/figures/LDR-led.pngbin0 -> 240349 bytes
-rw-r--r--user-code/ldr/figures/LDR.pngbin0 -> 224114 bytes
-rw-r--r--user-code/ldr/figures/ard-ldr.pngbin110313 -> 0 bytes
-rw-r--r--user-code/ldr/ldr.tex43
-rw-r--r--user-code/pot/figures/POT-led.pngbin0 -> 242605 bytes
-rw-r--r--user-code/pot/pot.tex26
23 files changed, 1468 insertions, 1397 deletions
diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad
index ede2a46..207d8d9 100644
--- a/floss-arduino.OpenModelicad
+++ b/floss-arduino.OpenModelicad
@@ -8,23 +8,23 @@
\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{96}%
\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{97}%
\addvspace {10pt}
-\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}%
-\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{114}%
+\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{114}%
+\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{115}%
\addvspace {10pt}
-\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{134}%
-\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{134}%
-\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{135}%
+\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{136}%
+\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{136}%
+\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{137}%
\addvspace {10pt}
-\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}%
+\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}%
\addvspace {10pt}
-\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{164}%
-\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{165}%
+\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{168}%
+\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{169}%
\addvspace {10pt}
-\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{186}%
-\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{187}%
-\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{188}%
-\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{188}%
+\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{190}%
+\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{191}%
+\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{192}%
+\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{192}%
\addvspace {10pt}
-\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{208}%
-\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{208}%
-\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{209}%
+\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{212}%
+\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{212}%
+\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{213}%
diff --git a/floss-arduino.ard b/floss-arduino.ard
index 131bbc7..ff325c5 100644
--- a/floss-arduino.ard
+++ b/floss-arduino.ard
@@ -9,20 +9,20 @@
\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{87}%
\addvspace {10pt}
\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{103}%
-\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{103}%
+\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{104}%
\addvspace {10pt}
-\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}%
-\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}%
-\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{119}%
+\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{121}%
+\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{121}%
+\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{121}%
\addvspace {10pt}
-\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{139}%
+\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}%
\addvspace {10pt}
-\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{152}%
-\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{153}%
+\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}%
+\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{157}%
\addvspace {10pt}
-\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{169}%
-\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{170}%
-\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{170}%
-\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{171}%
+\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{173}%
+\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{174}%
+\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{174}%
+\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{175}%
\addvspace {10pt}
-\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{203}%
+\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{207}%
diff --git a/floss-arduino.aux b/floss-arduino.aux
index a6ba43d..cdf7d3a 100644
--- a/floss-arduino.aux
+++ b/floss-arduino.aux
@@ -614,15 +614,17 @@
\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of an LDR}}}{100}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{100}\protected@file@percent }
\newlabel{fig:ldrconn}{{6.2}{100}}
-\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces Interfacing an LDR with Arduino Uno using a breadboard\relax }}{101}\protected@file@percent }
-\newlabel{fig:ard-ldr-bread}{{6.3}{101}}
+\@writefile{lof}{\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno using a breadboard\relax }}{101}\protected@file@percent }
+\newlabel{fig:ard-ldr}{{6.3}{101}}
\@writefile{toc}{\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{101}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{101}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{101}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{102}\protected@file@percent }
+\newlabel{fig:ard-ldr-led}{{6.4}{102}}
+\@writefile{toc}{\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{102}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{102}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{102}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{102}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{102}\protected@file@percent }
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{102}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{103}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{103}\protected@file@percent }
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{1}}{}}{103}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{103}\protected@file@percent }
\newlabel{sec:ldr-arduino-code}{{6.3.2}{103}}
\@writefile{ard}{\addvspace {10pt}}
@@ -632,855 +634,858 @@
\newlabel{63@vr}{{}{103}}
\newlabel{ard:ldr-read}{{6.{1}}{103}}
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash read/ldr\textendash read.ino}{103}\protected@file@percent }
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{103}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{103}\protected@file@percent }
-\newlabel{64@xvr}{{}{103}}
-\newlabel{64@vr}{{}{103}}
-\newlabel{ard:ldr-led}{{6.{2}}{103}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{103}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{103}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{103}\protected@file@percent }
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{104}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{104}\protected@file@percent }
-\newlabel{sec:ldr-scilab-code}{{6.4.2}{104}}
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{104}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{104}\protected@file@percent }
+\newlabel{64@xvr}{{}{104}}
+\newlabel{64@vr}{{}{104}}
+\newlabel{ard:ldr-led}{{6.{2}}{104}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr\textendash led/ldr\textendash led.ino}{104}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{104}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{104}\protected@file@percent }
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{2}}{}}{105}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{105}\protected@file@percent }
+\newlabel{sec:ldr-scilab-code}{{6.4.2}{105}}
\@writefile{cod}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{104}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{104}\protected@file@percent }
-\newlabel{65@xvr}{{}{104}}
-\newlabel{65@vr}{{}{104}}
-\newlabel{sci:ldr-read}{{6.{1}}{104}}
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{105}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}\protected@file@percent }
+\newlabel{65@xvr}{{}{105}}
+\newlabel{65@vr}{{}{105}}
+\newlabel{sci:ldr-read}{{6.{1}}{105}}
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash read.sce}{105}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{105}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{105}\protected@file@percent }
-\newlabel{66@xvr}{{}{105}}
-\newlabel{66@vr}{{}{105}}
-\newlabel{sci:ldr-led}{{6.{2}}{105}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{105}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{105}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read LDR values}}{106}\protected@file@percent }
-\newlabel{68@xvr}{{}{106}}
-\newlabel{68@vr}{{}{106}}
-\newlabel{fig:ldr-read}{{6.4}{106}}
-\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{106}\protected@file@percent }
-\newlabel{tab:ldr-read}{{6.1}{106}}
-\newlabel{69@xvr}{{}{106}}
-\newlabel{69@vr}{{}{106}}
-\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{107}\protected@file@percent }
-\newlabel{71@xvr}{{}{107}}
-\newlabel{71@vr}{{}{107}}
-\newlabel{fig:ldr-led}{{6.5}{107}}
-\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{107}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{107}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{108}\protected@file@percent }
-\newlabel{tab:ldr-led}{{6.2}{108}}
-\newlabel{72@xvr}{{}{108}}
-\newlabel{72@vr}{{}{108}}
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{106}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}\protected@file@percent }
+\newlabel{66@xvr}{{}{106}}
+\newlabel{66@vr}{{}{106}}
+\newlabel{sci:ldr-led}{{6.{2}}{106}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr\textendash led.sce}{106}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{106}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{107}\protected@file@percent }
+\newlabel{68@xvr}{{}{107}}
+\newlabel{68@vr}{{}{107}}
+\newlabel{fig:ldr-read}{{6.5}{107}}
+\@writefile{lot}{\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{107}\protected@file@percent }
+\newlabel{tab:ldr-read}{{6.1}{107}}
+\newlabel{69@xvr}{{}{107}}
+\newlabel{69@vr}{{}{107}}
+\@writefile{lof}{\contentsline {figure}{\numberline {6.6}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{108}\protected@file@percent }
+\newlabel{71@xvr}{{}{108}}
+\newlabel{71@vr}{{}{108}}
+\newlabel{fig:ldr-led}{{6.6}{108}}
+\@writefile{toc}{\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{108}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{108}\protected@file@percent }
+\@writefile{lot}{\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{109}\protected@file@percent }
+\newlabel{tab:ldr-led}{{6.2}{109}}
+\newlabel{72@xvr}{{}{109}}
+\newlabel{72@vr}{{}{109}}
\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{3}}{}}{109}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{109}\protected@file@percent }
-\newlabel{sec:ldr-python-code}{{6.6.2}{109}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.6.2}Python Code}{110}\protected@file@percent }
+\newlabel{sec:ldr-python-code}{{6.6.2}{110}}
\@writefile{pyd}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{109}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}\protected@file@percent }
-\newlabel{73@xvr}{{}{109}}
-\newlabel{73@vr}{{}{109}}
-\newlabel{py:ldr-read}{{6.{1}}{109}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{109}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{110}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}\protected@file@percent }
-\newlabel{74@xvr}{{}{110}}
-\newlabel{74@vr}{{}{110}}
-\newlabel{py:ldr-led}{{6.{2}}{110}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{110}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{111}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{111}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{111}\protected@file@percent }
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{111}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{112}\protected@file@percent }
-\newlabel{sec:ldr-julia-code}{{6.7.2}{112}}
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{1}}{}}{110}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{110}\protected@file@percent }
+\newlabel{73@xvr}{{}{110}}
+\newlabel{73@vr}{{}{110}}
+\newlabel{py:ldr-read}{{6.{1}}{110}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash read.py}{110}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{6.{2}}{}}{111}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{111}\protected@file@percent }
+\newlabel{74@xvr}{{}{111}}
+\newlabel{74@vr}{{}{111}}
+\newlabel{py:ldr-led}{{6.{2}}{111}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr\textendash led.py}{111}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{112}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{112}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led\textendash push\textendash button.jl}{112}\protected@file@percent }
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{6.{4}}{}}{112}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.7.2}Julia Code}{113}\protected@file@percent }
+\newlabel{sec:ldr-julia-code}{{6.7.2}{113}}
\@writefile{juliad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{112}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{112}\protected@file@percent }
-\newlabel{75@xvr}{{}{112}}
-\newlabel{75@vr}{{}{112}}
-\newlabel{julia:ldr-read}{{6.{1}}{112}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{112}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{112}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{112}\protected@file@percent }
-\newlabel{76@xvr}{{}{112}}
-\newlabel{76@vr}{{}{112}}
-\newlabel{julia:ldr-led}{{6.{2}}{112}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{112}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{112}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{112}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{113}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{113}\protected@file@percent }
-\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{113}}
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{113}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}\protected@file@percent }
+\newlabel{75@xvr}{{}{113}}
+\newlabel{75@vr}{{}{113}}
+\newlabel{julia:ldr-read}{{6.{1}}{113}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash read.jl}{113}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{113}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{113}\protected@file@percent }
+\newlabel{76@xvr}{{}{113}}
+\newlabel{76@vr}{{}{113}}
+\newlabel{julia:ldr-led}{{6.{2}}{113}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr\textendash led.jl}{113}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{113}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{113}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led\textendash push\textendash button.mo}{114}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{114}\protected@file@percent }
+\newlabel{sec:ldr-OpenModelica-code}{{6.8.2}{114}}
\@writefile{OpenModelicad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{113}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}\protected@file@percent }
-\newlabel{77@xvr}{{}{113}}
-\newlabel{77@vr}{{}{113}}
-\newlabel{OpenModelica:ldr-read}{{6.{1}}{113}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{113}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{114}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{114}\protected@file@percent }
-\newlabel{78@xvr}{{}{114}}
-\newlabel{78@vr}{{}{114}}
-\newlabel{OpenModelica:ldr-led}{{6.{2}}{114}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{114}\protected@file@percent }
-\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{115}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{114}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{114}\protected@file@percent }
+\newlabel{77@xvr}{{}{114}}
+\newlabel{77@vr}{{}{114}}
+\newlabel{OpenModelica:ldr-read}{{6.{1}}{114}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash read.mo}{114}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{115}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{115}\protected@file@percent }
+\newlabel{78@xvr}{{}{115}}
+\newlabel{78@vr}{{}{115}}
+\newlabel{OpenModelica:ldr-led}{{6.{2}}{115}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr\textendash led.mo}{115}\protected@file@percent }
+\@writefile{toc}{\contentsline {chapter}{\numberline {7}Controlling a DC motor}{117}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{dcmotor}{{7}{115}}
-\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{115}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{116}\protected@file@percent }
-\newlabel{fig:motordriverboard}{{7.1}{116}}
-\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{117}\protected@file@percent }
-\newlabel{fig:dcm-schematic}{{7.2}{117}}
-\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{117}\protected@file@percent }
-\newlabel{fig:dcmotorconn}{{7.3}{117}}
-\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{117}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{117}\protected@file@percent }
-\newlabel{sec:dcm-ard}{{7.2.1}{117}}
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{118}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{119}\protected@file@percent }
-\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{119}}
+\newlabel{dcmotor}{{7}{117}}
+\@writefile{toc}{\contentsline {section}{\numberline {7.1}Preliminaries}{117}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{118}\protected@file@percent }
+\newlabel{fig:motordriverboard}{{7.1}{118}}
+\@writefile{lof}{\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{119}\protected@file@percent }
+\newlabel{fig:dcm-schematic}{{7.2}{119}}
+\@writefile{lof}{\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{119}\protected@file@percent }
+\newlabel{fig:dcmotorconn}{{7.3}{119}}
+\@writefile{toc}{\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{119}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{119}\protected@file@percent }
+\newlabel{sec:dcm-ard}{{7.2.1}{119}}
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{1}}{}}{120}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{121}\protected@file@percent }
+\newlabel{sec:dcmotor-arduino-code}{{7.2.2}{121}}
\@writefile{ard}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{119}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{119}\protected@file@percent }
-\newlabel{79@xvr}{{}{119}}
-\newlabel{79@vr}{{}{119}}
-\newlabel{ard:dcmotor-clock}{{7.{1}}{119}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{119}\protected@file@percent }
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{119}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{119}\protected@file@percent }
-\newlabel{80@xvr}{{}{119}}
-\newlabel{80@vr}{{}{119}}
-\newlabel{ard:dcmotor-both}{{7.{2}}{119}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{119}\protected@file@percent }
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{119}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{119}\protected@file@percent }
-\newlabel{81@xvr}{{}{119}}
-\newlabel{81@vr}{{}{119}}
-\newlabel{ard:dcmotor-loop}{{7.{3}}{119}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{120}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{120}\protected@file@percent }
-\newlabel{sec:dcm-sci}{{7.3}{120}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{120}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{121}\protected@file@percent }
-\newlabel{table:convention}{{7.1}{121}}
-\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{121}\protected@file@percent }
-\newlabel{tab:dcmotor-init}{{7.2}{121}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{121}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{121}\protected@file@percent }
-\newlabel{sec:dc-both}{{7.3.2}{121}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{121}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{122}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{122}\protected@file@percent }
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{122}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{122}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{123}\protected@file@percent }
-\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{123}}
-\@writefile{cod}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{123}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{123}\protected@file@percent }
-\newlabel{82@xvr}{{}{123}}
-\newlabel{82@vr}{{}{123}}
-\newlabel{sci:dcmotor-clock}{{7.{1}}{123}}
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{121}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{121}\protected@file@percent }
+\newlabel{79@xvr}{{}{121}}
+\newlabel{79@vr}{{}{121}}
+\newlabel{ard:dcmotor-clock}{{7.{1}}{121}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash clock/dcmotor\textendash clock.ino}{121}\protected@file@percent }
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{121}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{121}\protected@file@percent }
+\newlabel{80@xvr}{{}{121}}
+\newlabel{80@vr}{{}{121}}
+\newlabel{ard:dcmotor-both}{{7.{2}}{121}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash both/dcmotor\textendash both.ino}{121}\protected@file@percent }
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{121}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{121}\protected@file@percent }
+\newlabel{81@xvr}{{}{121}}
+\newlabel{81@vr}{{}{121}}
+\newlabel{ard:dcmotor-loop}{{7.{3}}{121}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor\textendash loop/dcmotor\textendash loop.ino}{122}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{122}\protected@file@percent }
+\newlabel{sec:dcm-sci}{{7.3}{122}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Initialization}{122}\protected@file@percent }
+\@writefile{lot}{\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{123}\protected@file@percent }
+\newlabel{table:convention}{{7.1}{123}}
+\@writefile{lot}{\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{123}\protected@file@percent }
+\newlabel{tab:dcmotor-init}{{7.2}{123}}
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{123}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{123}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{123}\protected@file@percent }
-\newlabel{83@xvr}{{}{123}}
-\newlabel{83@vr}{{}{123}}
-\newlabel{sci:dcmotor-both}{{7.{2}}{123}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{123}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{123}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{123}\protected@file@percent }
-\newlabel{84@xvr}{{}{123}}
-\newlabel{84@vr}{{}{123}}
-\newlabel{sci:dcmotor-loop}{{7.{3}}{123}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{123}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{124}\protected@file@percent }
-\newlabel{86@xvr}{{}{124}}
-\newlabel{86@vr}{{}{124}}
-\newlabel{fig:dcmotor-clock}{{7.4}{124}}
-\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{124}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{125}\protected@file@percent }
-\newlabel{tab:dcmotor-clock}{{7.3}{125}}
-\newlabel{87@xvr}{{}{125}}
-\newlabel{87@vr}{{}{125}}
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{125}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{126}\protected@file@percent }
-\newlabel{89@xvr}{{}{126}}
-\newlabel{89@vr}{{}{126}}
-\newlabel{fig:dcmotor-both}{{7.5}{126}}
-\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{126}\protected@file@percent }
-\newlabel{tab:dcmotor-both}{{7.4}{126}}
-\newlabel{90@xvr}{{}{126}}
-\newlabel{90@vr}{{}{126}}
-\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{127}\protected@file@percent }
-\newlabel{92@xvr}{{}{127}}
-\newlabel{92@vr}{{}{127}}
-\newlabel{fig:dcmotor-loop}{{7.6}{127}}
-\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{127}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{127}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{128}\protected@file@percent }
-\newlabel{tab:dcmotor-loop}{{7.5}{128}}
-\newlabel{93@xvr}{{}{128}}
-\newlabel{93@vr}{{}{128}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{129}\protected@file@percent }
-\newlabel{sec:dcmotor-python-code}{{7.5.2}{129}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{123}\protected@file@percent }
+\newlabel{sec:dc-both}{{7.3.2}{123}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{123}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{124}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{124}\protected@file@percent }
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{2}}{}}{124}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{124}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{125}\protected@file@percent }
+\newlabel{sec:dcmotor-scilab-code}{{7.3.4}{125}}
+\@writefile{cod}{\addvspace {10pt}}
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{125}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}\protected@file@percent }
+\newlabel{82@xvr}{{}{125}}
+\newlabel{82@vr}{{}{125}}
+\newlabel{sci:dcmotor-clock}{{7.{1}}{125}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash clock.sce}{125}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{125}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{125}\protected@file@percent }
+\newlabel{83@xvr}{{}{125}}
+\newlabel{83@vr}{{}{125}}
+\newlabel{sci:dcmotor-both}{{7.{2}}{125}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash both.sce}{125}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{125}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{125}\protected@file@percent }
+\newlabel{84@xvr}{{}{125}}
+\newlabel{84@vr}{{}{125}}
+\newlabel{sci:dcmotor-loop}{{7.{3}}{125}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor\textendash loop.sce}{125}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{126}\protected@file@percent }
+\newlabel{86@xvr}{{}{126}}
+\newlabel{86@vr}{{}{126}}
+\newlabel{fig:dcmotor-clock}{{7.4}{126}}
+\@writefile{toc}{\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{126}\protected@file@percent }
+\@writefile{lot}{\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{127}\protected@file@percent }
+\newlabel{tab:dcmotor-clock}{{7.3}{127}}
+\newlabel{87@xvr}{{}{127}}
+\newlabel{87@vr}{{}{127}}
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{7.{3}}{}}{127}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{128}\protected@file@percent }
+\newlabel{89@xvr}{{}{128}}
+\newlabel{89@vr}{{}{128}}
+\newlabel{fig:dcmotor-both}{{7.5}{128}}
+\@writefile{lot}{\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{128}\protected@file@percent }
+\newlabel{tab:dcmotor-both}{{7.4}{128}}
+\newlabel{90@xvr}{{}{128}}
+\newlabel{90@vr}{{}{128}}
+\@writefile{lof}{\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{129}\protected@file@percent }
+\newlabel{92@xvr}{{}{129}}
+\newlabel{92@vr}{{}{129}}
+\newlabel{fig:dcmotor-loop}{{7.6}{129}}
+\@writefile{toc}{\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{129}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{129}\protected@file@percent }
+\@writefile{lot}{\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{130}\protected@file@percent }
+\newlabel{tab:dcmotor-loop}{{7.5}{130}}
+\newlabel{93@xvr}{{}{130}}
+\newlabel{93@vr}{{}{130}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.2}Python Code}{131}\protected@file@percent }
+\newlabel{sec:dcmotor-python-code}{{7.5.2}{131}}
\@writefile{pyd}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{129}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{129}\protected@file@percent }
-\newlabel{94@xvr}{{}{129}}
-\newlabel{94@vr}{{}{129}}
-\newlabel{py:dcmotor-clock}{{7.{1}}{129}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{129}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{130}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}\protected@file@percent }
-\newlabel{95@xvr}{{}{130}}
-\newlabel{95@vr}{{}{130}}
-\newlabel{py:dcmotor-both}{{7.{2}}{130}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{130}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{130}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{130}\protected@file@percent }
-\newlabel{96@xvr}{{}{131}}
-\newlabel{96@vr}{{}{131}}
-\newlabel{py:dcmotor-loop}{{7.{3}}{131}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{131}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{132}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{132}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{132}\protected@file@percent }
-\newlabel{sec:dcmotor-julia-code}{{7.6.2}{132}}
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{1}}{}}{131}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{131}\protected@file@percent }
+\newlabel{94@xvr}{{}{131}}
+\newlabel{94@vr}{{}{131}}
+\newlabel{py:dcmotor-clock}{{7.{1}}{131}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash clock.py}{131}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{2}}{}}{132}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{132}\protected@file@percent }
+\newlabel{95@xvr}{{}{132}}
+\newlabel{95@vr}{{}{132}}
+\newlabel{py:dcmotor-both}{{7.{2}}{132}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash both.py}{132}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{7.{3}}{}}{132}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{132}\protected@file@percent }
+\newlabel{96@xvr}{{}{133}}
+\newlabel{96@vr}{{}{133}}
+\newlabel{py:dcmotor-loop}{{7.{3}}{133}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor\textendash loop.py}{133}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{134}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{134}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.2}Julia Code}{134}\protected@file@percent }
+\newlabel{sec:dcmotor-julia-code}{{7.6.2}{134}}
\@writefile{juliad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{132}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{132}\protected@file@percent }
-\newlabel{97@xvr}{{}{132}}
-\newlabel{97@vr}{{}{132}}
-\newlabel{julia:dcmotor-clock}{{7.{1}}{132}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{132}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{133}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{133}\protected@file@percent }
-\newlabel{98@xvr}{{}{133}}
-\newlabel{98@vr}{{}{133}}
-\newlabel{julia:dcmotor-both}{{7.{2}}{133}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{133}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{133}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{133}\protected@file@percent }
-\newlabel{99@xvr}{{}{133}}
-\newlabel{99@vr}{{}{133}}
-\newlabel{julia:dcmotor-loop}{{7.{3}}{133}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{133}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{133}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{133}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{134}\protected@file@percent }
-\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{134}}
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{134}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{134}\protected@file@percent }
+\newlabel{97@xvr}{{}{134}}
+\newlabel{97@vr}{{}{134}}
+\newlabel{julia:dcmotor-clock}{{7.{1}}{134}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash clock.jl}{134}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{135}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{135}\protected@file@percent }
+\newlabel{98@xvr}{{}{135}}
+\newlabel{98@vr}{{}{135}}
+\newlabel{julia:dcmotor-both}{{7.{2}}{135}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash both.jl}{135}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{135}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{135}\protected@file@percent }
+\newlabel{99@xvr}{{}{135}}
+\newlabel{99@vr}{{}{135}}
+\newlabel{julia:dcmotor-loop}{{7.{3}}{135}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor\textendash loop.jl}{135}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{135}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{135}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{136}\protected@file@percent }
+\newlabel{sec:dcmotor-OpenModelica-code}{{7.7.2}{136}}
\@writefile{OpenModelicad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{134}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{134}\protected@file@percent }
-\newlabel{100@xvr}{{}{134}}
-\newlabel{100@vr}{{}{134}}
-\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{134}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{134}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{134}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{134}\protected@file@percent }
-\newlabel{101@xvr}{{}{134}}
-\newlabel{101@vr}{{}{134}}
-\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{134}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{135}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{135}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{135}\protected@file@percent }
-\newlabel{102@xvr}{{}{135}}
-\newlabel{102@vr}{{}{135}}
-\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{135}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{135}\protected@file@percent }
-\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{137}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{136}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{136}\protected@file@percent }
+\newlabel{100@xvr}{{}{136}}
+\newlabel{100@vr}{{}{136}}
+\newlabel{OpenModelica:dcmotor-clock}{{7.{1}}{136}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash clock.mo}{136}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{136}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{136}\protected@file@percent }
+\newlabel{101@xvr}{{}{136}}
+\newlabel{101@vr}{{}{136}}
+\newlabel{OpenModelica:dcmotor-both}{{7.{2}}{136}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash both.mo}{137}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{137}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{137}\protected@file@percent }
+\newlabel{102@xvr}{{}{137}}
+\newlabel{102@vr}{{}{137}}
+\newlabel{OpenModelica:dcmotor-loop}{{7.{3}}{137}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmotor\textendash loop.mo}{137}\protected@file@percent }
+\@writefile{toc}{\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{139}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{potmeter}{{8}{137}}
-\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{137}\protected@file@percent }
-\newlabel{103@xvr}{{}{137}}
-\newlabel{103@vr}{{}{137}}
-\newlabel{fig:pot}{{8.1a}{138}}
+\newlabel{potmeter}{{8}{139}}
+\@writefile{toc}{\contentsline {section}{\numberline {8.1}Preliminaries}{139}\protected@file@percent }
+\newlabel{103@xvr}{{}{139}}
+\newlabel{103@vr}{{}{139}}
+\newlabel{fig:pot}{{8.1a}{140}}
\newlabel{sub@fig:pot}{{(a)}{a}}
-\newlabel{fig:potsch}{{8.1b}{138}}
+\newlabel{fig:potsch}{{8.1b}{140}}
\newlabel{sub@fig:potsch}{{(b)}{b}}
-\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{138}\protected@file@percent }
-\newlabel{fig:potmeterconn}{{8.1}{138}}
-\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{138}\protected@file@percent }
-\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{138}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{138}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{138}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{139}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{139}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{139}\protected@file@percent }
-\newlabel{sec:pot-arduino-code}{{8.2.2}{139}}
+\@writefile{lof}{\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{140}\protected@file@percent }
+\newlabel{fig:potmeterconn}{{8.1}{140}}
+\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{140}\protected@file@percent }
+\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{140}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{140}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{141}\protected@file@percent }
+\newlabel{fig:pot-led}{{8.2}{141}}
+\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{141}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{141}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{142}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{142}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{142}\protected@file@percent }
+\newlabel{sec:pot-arduino-code}{{8.3.2}{142}}
\@writefile{ard}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{139}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{139}\protected@file@percent }
-\newlabel{104@xvr}{{}{139}}
-\newlabel{104@vr}{{}{139}}
-\newlabel{ard:pot-100}{{8.{1}}{139}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{139}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{140}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{140}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{140}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{140}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{141}\protected@file@percent }
-\newlabel{sec:pot-scilab-code}{{8.3.2}{141}}
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{142}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{142}\protected@file@percent }
+\newlabel{104@xvr}{{}{142}}
+\newlabel{104@vr}{{}{142}}
+\newlabel{ard:pot-100}{{8.{1}}{142}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot\textendash threshold/pot\textendash threshold.ino}{142}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{143}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{143}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{143}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{143}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{144}\protected@file@percent }
+\newlabel{sec:pot-scilab-code}{{8.4.2}{144}}
\@writefile{cod}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{141}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{141}\protected@file@percent }
-\newlabel{105@xvr}{{}{141}}
-\newlabel{105@vr}{{}{141}}
-\newlabel{sci:pot-100}{{8.{1}}{141}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{141}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{141}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{142}\protected@file@percent }
-\newlabel{107@xvr}{{}{142}}
-\newlabel{107@vr}{{}{142}}
-\newlabel{fig:pot-threshold}{{8.2}{142}}
-\@writefile{toc}{\contentsline {paragraph}{Exercise:}{142}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{142}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{142}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{143}\protected@file@percent }
-\newlabel{tab:pot-threshold}{{8.1}{143}}
-\newlabel{108@xvr}{{}{143}}
-\newlabel{108@vr}{{}{143}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{143}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{143}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.5.2}Python Code}{144}\protected@file@percent }
-\newlabel{sec:pot-python-code}{{8.5.2}{144}}
-\@writefile{pyd}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{144}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}\protected@file@percent }
-\newlabel{109@xvr}{{}{144}}
-\newlabel{109@vr}{{}{144}}
-\newlabel{py:pot-100}{{8.{1}}{144}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{144}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{145}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{144}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}\protected@file@percent }
+\newlabel{105@xvr}{{}{144}}
+\newlabel{105@vr}{{}{144}}
+\newlabel{sci:pot-100}{{8.{1}}{144}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot\textendash threshold.sce}{144}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{144}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{145}\protected@file@percent }
+\newlabel{107@xvr}{{}{145}}
+\newlabel{107@vr}{{}{145}}
+\newlabel{fig:pot-threshold}{{8.3}{145}}
+\@writefile{toc}{\contentsline {paragraph}{Exercise:}{145}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{145}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{145}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{145}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{145}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Julia Code}{146}\protected@file@percent }
-\newlabel{sec:pot-julia-code}{{8.6.2}{146}}
+\@writefile{lot}{\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{146}\protected@file@percent }
+\newlabel{tab:pot-threshold}{{8.1}{146}}
+\newlabel{108@xvr}{{}{146}}
+\newlabel{108@vr}{{}{146}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{146}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{146}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.6.2}Python Code}{147}\protected@file@percent }
+\newlabel{sec:pot-python-code}{{8.6.2}{147}}
+\@writefile{pyd}{\addvspace {10pt}}
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{8.{1}}{}}{147}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}\protected@file@percent }
+\newlabel{109@xvr}{{}{147}}
+\newlabel{109@vr}{{}{147}}
+\newlabel{py:pot-100}{{8.{1}}{147}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot\textendash threshold.py}{147}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{148}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{148}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{148}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{148}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}Julia Code}{149}\protected@file@percent }
+\newlabel{sec:pot-julia-code}{{8.7.2}{149}}
\@writefile{juliad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{146}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{146}\protected@file@percent }
-\newlabel{110@xvr}{{}{146}}
-\newlabel{110@vr}{{}{146}}
-\newlabel{julia:pot-100}{{8.{1}}{146}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{146}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{146}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{146}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{146}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{147}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{147}\protected@file@percent }
-\newlabel{sec:pot-OpenModelica-code}{{8.7.2}{147}}
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{149}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{149}\protected@file@percent }
+\newlabel{110@xvr}{{}{149}}
+\newlabel{110@vr}{{}{149}}
+\newlabel{julia:pot-100}{{8.{1}}{149}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot\textendash threshold.jl}{149}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{149}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{149}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{149}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{150}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{150}\protected@file@percent }
+\newlabel{sec:pot-OpenModelica-code}{{8.8.2}{150}}
\@writefile{OpenModelicad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{147}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}\protected@file@percent }
-\newlabel{111@xvr}{{}{147}}
-\newlabel{111@vr}{{}{147}}
-\newlabel{OpenModelica:pot-100}{{8.{1}}{147}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{147}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{150}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{150}\protected@file@percent }
+\newlabel{111@xvr}{{}{150}}
+\newlabel{111@vr}{{}{150}}
+\newlabel{OpenModelica:pot-100}{{8.{1}}{150}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot\textendash threshold.mo}{150}\protected@file@percent }
\citation{therm-wiki}
\citation{therm-wiki}
-\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{149}\protected@file@percent }
+\@writefile{toc}{\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{153}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{thermistor}{{9}{149}}
-\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{149}\protected@file@percent }
-\newlabel{fig:therm}{{9.1a}{150}}
+\newlabel{thermistor}{{9}{153}}
+\@writefile{toc}{\contentsline {section}{\numberline {9.1}Preliminaries}{153}\protected@file@percent }
+\newlabel{fig:therm}{{9.1a}{154}}
\newlabel{sub@fig:therm}{{(a)}{a}}
-\newlabel{fig:thermsym}{{9.1b}{150}}
+\newlabel{fig:thermsym}{{9.1b}{154}}
\newlabel{sub@fig:thermsym}{{(b)}{b}}
-\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{150}\protected@file@percent }
-\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{150}\protected@file@percent }
-\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{150}\protected@file@percent }
-\newlabel{fig:therm-conn}{{9.2a}{150}}
+\@writefile{lof}{\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{154}\protected@file@percent }
+\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{154}\protected@file@percent }
+\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{154}\protected@file@percent }
+\newlabel{fig:therm-conn}{{9.2a}{154}}
\newlabel{sub@fig:therm-conn}{{(a)}{a}}
-\newlabel{fig:buzzer-conn}{{9.2b}{150}}
+\newlabel{fig:buzzer-conn}{{9.2b}{154}}
\newlabel{sub@fig:buzzer-conn}{{(b)}{b}}
-\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{150}\protected@file@percent }
-\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{150}\protected@file@percent }
-\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{150}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{150}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{151}\protected@file@percent }
-\newlabel{fig:ard-therm-bread}{{9.3}{151}}
-\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{151}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{151}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{151}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{151}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{152}\protected@file@percent }
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{152}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{152}\protected@file@percent }
-\newlabel{sec:therm-arduino-code}{{9.3.2}{152}}
+\@writefile{lof}{\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{154}\protected@file@percent }
+\@writefile{lof}{\contentsline {subfigure}{\numberline{(a)}{\ignorespaces {Thermistor connection diagram}}}{154}\protected@file@percent }
+\@writefile{lof}{\contentsline {subfigure}{\numberline{(b)}{\ignorespaces {Buzzer connection diagram}}}{154}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{154}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{155}\protected@file@percent }
+\newlabel{fig:ard-therm-bread}{{9.3}{155}}
+\@writefile{toc}{\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{155}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{155}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{155}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{155}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{156}\protected@file@percent }
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{1}}{}}{156}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{156}\protected@file@percent }
+\newlabel{sec:therm-arduino-code}{{9.3.2}{156}}
\@writefile{ard}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{152}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{152}\protected@file@percent }
-\newlabel{112@xvr}{{}{152}}
-\newlabel{112@vr}{{}{152}}
-\newlabel{ard:therm-read}{{9.{1}}{152}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{152}\protected@file@percent }
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{153}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{153}\protected@file@percent }
-\newlabel{113@xvr}{{}{153}}
-\newlabel{113@vr}{{}{153}}
-\newlabel{ard:therm-buzzer}{{9.{2}}{153}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{153}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{154}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{154}\protected@file@percent }
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{154}\protected@file@percent }
-\newlabel{therm-abc}{{9.1}{154}}
-\newlabel{therm-beta}{{9.2}{155}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{155}\protected@file@percent }
-\newlabel{sec:therm-scilab-code}{{9.4.2}{155}}
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{156}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{156}\protected@file@percent }
+\newlabel{112@xvr}{{}{156}}
+\newlabel{112@vr}{{}{156}}
+\newlabel{ard:therm-read}{{9.{1}}{156}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash read/therm\textendash read.ino}{156}\protected@file@percent }
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{157}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{157}\protected@file@percent }
+\newlabel{113@xvr}{{}{157}}
+\newlabel{113@vr}{{}{157}}
+\newlabel{ard:therm-buzzer}{{9.{2}}{157}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm\textendash buzzer/therm\textendash buzzer.ino}{157}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{158}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{158}\protected@file@percent }
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{9.{2}}{}}{158}\protected@file@percent }
+\newlabel{therm-abc}{{9.1}{158}}
+\newlabel{therm-beta}{{9.2}{159}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{159}\protected@file@percent }
+\newlabel{sec:therm-scilab-code}{{9.4.2}{159}}
\@writefile{cod}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{155}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{155}\protected@file@percent }
-\newlabel{114@xvr}{{}{155}}
-\newlabel{114@vr}{{}{155}}
-\newlabel{sci:therm-read}{{9.{1}}{155}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{155}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{155}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{155}\protected@file@percent }
-\newlabel{115@xvr}{{}{155}}
-\newlabel{115@vr}{{}{155}}
-\newlabel{sci:therm-buzzer}{{9.{2}}{155}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{155}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{156}\protected@file@percent }
-\newlabel{117@xvr}{{}{156}}
-\newlabel{117@vr}{{}{156}}
-\newlabel{fig:therm-read}{{9.4}{156}}
-\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{156}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{157}\protected@file@percent }
-\newlabel{tab:therm-read}{{9.1}{157}}
-\newlabel{118@xvr}{{}{157}}
-\newlabel{118@vr}{{}{157}}
-\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{157}\protected@file@percent }
-\newlabel{120@xvr}{{}{157}}
-\newlabel{120@vr}{{}{157}}
-\newlabel{fig:therm-read-output}{{9.5}{157}}
-\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{158}\protected@file@percent }
-\newlabel{122@xvr}{{}{158}}
-\newlabel{122@vr}{{}{158}}
-\newlabel{fig:therm-buzzer}{{9.6}{158}}
-\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{158}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{158}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{159}\protected@file@percent }
-\newlabel{tab:ldr-led}{{9.2}{159}}
-\newlabel{123@xvr}{{}{159}}
-\newlabel{123@vr}{{}{159}}
-\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{159}\protected@file@percent }
-\newlabel{125@xvr}{{}{159}}
-\newlabel{125@vr}{{}{159}}
-\newlabel{fig:therm-buzzer-output}{{9.7}{159}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{160}\protected@file@percent }
-\newlabel{sec:therm-pyhton-code}{{9.6.2}{160}}
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{159}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{159}\protected@file@percent }
+\newlabel{114@xvr}{{}{159}}
+\newlabel{114@vr}{{}{159}}
+\newlabel{sci:therm-read}{{9.{1}}{159}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash read.sce}{159}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{159}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{159}\protected@file@percent }
+\newlabel{115@xvr}{{}{159}}
+\newlabel{115@vr}{{}{159}}
+\newlabel{sci:therm-buzzer}{{9.{2}}{159}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm\textendash buzzer.sce}{159}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{160}\protected@file@percent }
+\newlabel{117@xvr}{{}{160}}
+\newlabel{117@vr}{{}{160}}
+\newlabel{fig:therm-read}{{9.4}{160}}
+\@writefile{toc}{\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{160}\protected@file@percent }
+\@writefile{lot}{\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{161}\protected@file@percent }
+\newlabel{tab:therm-read}{{9.1}{161}}
+\newlabel{118@xvr}{{}{161}}
+\newlabel{118@vr}{{}{161}}
+\@writefile{lof}{\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{161}\protected@file@percent }
+\newlabel{120@xvr}{{}{161}}
+\newlabel{120@vr}{{}{161}}
+\newlabel{fig:therm-read-output}{{9.5}{161}}
+\@writefile{lof}{\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{162}\protected@file@percent }
+\newlabel{122@xvr}{{}{162}}
+\newlabel{122@vr}{{}{162}}
+\newlabel{fig:therm-buzzer}{{9.6}{162}}
+\@writefile{toc}{\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{162}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{162}\protected@file@percent }
+\@writefile{lot}{\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{163}\protected@file@percent }
+\newlabel{tab:ldr-led}{{9.2}{163}}
+\newlabel{123@xvr}{{}{163}}
+\newlabel{123@vr}{{}{163}}
+\@writefile{lof}{\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{163}\protected@file@percent }
+\newlabel{125@xvr}{{}{163}}
+\newlabel{125@vr}{{}{163}}
+\newlabel{fig:therm-buzzer-output}{{9.7}{163}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.2}Python Code}{164}\protected@file@percent }
+\newlabel{sec:therm-pyhton-code}{{9.6.2}{164}}
\@writefile{pyd}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{160}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}\protected@file@percent }
-\newlabel{126@xvr}{{}{160}}
-\newlabel{126@vr}{{}{160}}
-\newlabel{py:therm-read}{{9.{1}}{160}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{160}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{161}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{161}\protected@file@percent }
-\newlabel{127@xvr}{{}{161}}
-\newlabel{127@vr}{{}{161}}
-\newlabel{py:therm-buzzer}{{9.{2}}{161}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{161}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{162}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{162}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{162}\protected@file@percent }
-\newlabel{sec:therm-julia-code}{{9.7.2}{162}}
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{1}}{}}{164}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{164}\protected@file@percent }
+\newlabel{126@xvr}{{}{164}}
+\newlabel{126@vr}{{}{164}}
+\newlabel{py:therm-read}{{9.{1}}{164}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash read.py}{164}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{9.{2}}{}}{165}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{165}\protected@file@percent }
+\newlabel{127@xvr}{{}{165}}
+\newlabel{127@vr}{{}{165}}
+\newlabel{py:therm-buzzer}{{9.{2}}{165}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm\textendash buzzer.py}{165}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{166}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{166}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.2}Julia Code}{166}\protected@file@percent }
+\newlabel{sec:therm-julia-code}{{9.7.2}{166}}
\@writefile{juliad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{162}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{162}\protected@file@percent }
-\newlabel{128@xvr}{{}{162}}
-\newlabel{128@vr}{{}{162}}
-\newlabel{julia:therm-read}{{9.{1}}{162}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{163}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{163}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{163}\protected@file@percent }
-\newlabel{129@xvr}{{}{163}}
-\newlabel{129@vr}{{}{163}}
-\newlabel{julia:therm-buzzer}{{9.{2}}{163}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{163}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{163}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{163}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{164}\protected@file@percent }
-\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{164}}
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{166}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{166}\protected@file@percent }
+\newlabel{128@xvr}{{}{166}}
+\newlabel{128@vr}{{}{166}}
+\newlabel{julia:therm-read}{{9.{1}}{166}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash read.jl}{167}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{167}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{167}\protected@file@percent }
+\newlabel{129@xvr}{{}{167}}
+\newlabel{129@vr}{{}{167}}
+\newlabel{julia:therm-buzzer}{{9.{2}}{167}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm\textendash buzzer.jl}{167}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{167}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{167}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{168}\protected@file@percent }
+\newlabel{sec:therm-OpenModelica-code}{{9.8.2}{168}}
\@writefile{OpenModelicad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{164}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{164}\protected@file@percent }
-\newlabel{130@xvr}{{}{164}}
-\newlabel{130@vr}{{}{164}}
-\newlabel{OpenModelica:therm-read}{{9.{1}}{164}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{164}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{165}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{165}\protected@file@percent }
-\newlabel{131@xvr}{{}{165}}
-\newlabel{131@vr}{{}{165}}
-\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{165}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{165}\protected@file@percent }
-\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{167}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{168}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{168}\protected@file@percent }
+\newlabel{130@xvr}{{}{168}}
+\newlabel{130@vr}{{}{168}}
+\newlabel{OpenModelica:therm-read}{{9.{1}}{168}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash read.mo}{168}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{169}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{169}\protected@file@percent }
+\newlabel{131@xvr}{{}{169}}
+\newlabel{131@vr}{{}{169}}
+\newlabel{OpenModelica:therm-buzzer}{{9.{2}}{169}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/therm\textendash buzzer.mo}{169}\protected@file@percent }
+\@writefile{toc}{\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{171}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{sec:servo}{{10}{167}}
-\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{167}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{168}\protected@file@percent }
-\newlabel{tab:servo-connect}{{10.1}{168}}
-\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{168}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{168}\protected@file@percent }
-\newlabel{sec:servo-ard}{{10.2.1}{168}}
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{169}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{169}\protected@file@percent }
-\newlabel{sec:servo-arduino-code}{{10.2.2}{169}}
+\newlabel{sec:servo}{{10}{171}}
+\@writefile{toc}{\contentsline {section}{\numberline {10.1}Preliminaries}{171}\protected@file@percent }
+\@writefile{lot}{\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{172}\protected@file@percent }
+\newlabel{tab:servo-connect}{{10.1}{172}}
+\@writefile{toc}{\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{172}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{172}\protected@file@percent }
+\newlabel{sec:servo-ard}{{10.2.1}{172}}
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{10.{1}}{}}{173}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{173}\protected@file@percent }
+\newlabel{sec:servo-arduino-code}{{10.2.2}{173}}
\@writefile{ard}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{169}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{169}\protected@file@percent }
-\newlabel{132@xvr}{{}{169}}
-\newlabel{132@vr}{{}{169}}
-\newlabel{ard:servo-init}{{10.{1}}{169}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{169}\protected@file@percent }
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{170}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{170}\protected@file@percent }
-\newlabel{133@xvr}{{}{170}}
-\newlabel{133@vr}{{}{170}}
-\newlabel{ard:servo-reverse}{{10.{2}}{170}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{170}\protected@file@percent }
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{170}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{170}\protected@file@percent }
-\newlabel{134@xvr}{{}{170}}
-\newlabel{134@vr}{{}{170}}
-\newlabel{ard:servo-loop}{{10.{3}}{170}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{170}\protected@file@percent }
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{171}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{171}\protected@file@percent }
-\newlabel{135@xvr}{{}{171}}
-\newlabel{135@vr}{{}{171}}
-\newlabel{ard:servo-pot}{{10.{4}}{171}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{171}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{171}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{171}\protected@file@percent }
-\newlabel{sec:servo-sci}{{10.3.1}{171}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{171}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{172}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{172}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{172}\protected@file@percent }
-\newlabel{sec:servo-scilab-code}{{10.3.2}{172}}
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{173}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{173}\protected@file@percent }
+\newlabel{132@xvr}{{}{173}}
+\newlabel{132@vr}{{}{173}}
+\newlabel{ard:servo-init}{{10.{1}}{173}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash init/servo\textendash init.ino}{173}\protected@file@percent }
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{174}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{174}\protected@file@percent }
+\newlabel{133@xvr}{{}{174}}
+\newlabel{133@vr}{{}{174}}
+\newlabel{ard:servo-reverse}{{10.{2}}{174}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash reverse/servo\textendash reverse.ino}{174}\protected@file@percent }
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{174}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in increments}{174}\protected@file@percent }
+\newlabel{134@xvr}{{}{174}}
+\newlabel{134@vr}{{}{174}}
+\newlabel{ard:servo-loop}{{10.{3}}{174}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash loop/servo\textendash loop.ino}{174}\protected@file@percent }
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{175}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor through the potentiometer}{175}\protected@file@percent }
+\newlabel{135@xvr}{{}{175}}
+\newlabel{135@vr}{{}{175}}
+\newlabel{ard:servo-pot}{{10.{4}}{175}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo\textendash pot/servo\textendash pot.ino}{175}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{175}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{175}\protected@file@percent }
+\newlabel{sec:servo-sci}{{10.3.1}{175}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{175}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{176}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{176}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{176}\protected@file@percent }
+\newlabel{sec:servo-scilab-code}{{10.3.2}{176}}
\@writefile{cod}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{172}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{172}\protected@file@percent }
-\newlabel{136@xvr}{{}{172}}
-\newlabel{136@vr}{{}{172}}
-\newlabel{sci:servo-init}{{10.{1}}{172}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{172}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{172}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{172}\protected@file@percent }
-\newlabel{137@xvr}{{}{172}}
-\newlabel{137@vr}{{}{172}}
-\newlabel{sci:servo-reverse}{{10.{2}}{172}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{173}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{173}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{173}\protected@file@percent }
-\newlabel{138@xvr}{{}{173}}
-\newlabel{138@vr}{{}{173}}
-\newlabel{sci:servo-loop}{{10.{3}}{173}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{173}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{173}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{173}\protected@file@percent }
-\newlabel{139@xvr}{{}{173}}
-\newlabel{139@vr}{{}{173}}
-\newlabel{sci:servo-pot}{{10.{4}}{173}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{173}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{173}\protected@file@percent }
-\newlabel{sec:servo-xcos}{{10.4}{173}}
-\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{174}\protected@file@percent }
-\newlabel{141@xvr}{{}{174}}
-\newlabel{141@vr}{{}{174}}
-\newlabel{fig:servo-init}{{10.1}{174}}
-\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{174}\protected@file@percent }
-\newlabel{tab:servo-init}{{10.2}{174}}
-\newlabel{142@xvr}{{}{174}}
-\newlabel{142@vr}{{}{174}}
-\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{175}\protected@file@percent }
-\newlabel{144@xvr}{{}{175}}
-\newlabel{144@vr}{{}{175}}
-\newlabel{fig:servo-reverse}{{10.2}{175}}
-\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{176}\protected@file@percent }
-\newlabel{tab:servo-reverse}{{10.3}{176}}
-\newlabel{145@xvr}{{}{176}}
-\newlabel{145@vr}{{}{176}}
-\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{176}\protected@file@percent }
-\newlabel{147@xvr}{{}{176}}
-\newlabel{147@vr}{{}{176}}
-\newlabel{fig:servo-loop}{{10.3}{176}}
-\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{177}\protected@file@percent }
-\newlabel{tab:servo-loop}{{10.4}{177}}
-\newlabel{148@xvr}{{}{177}}
-\newlabel{148@vr}{{}{177}}
-\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{177}\protected@file@percent }
-\newlabel{150@xvr}{{}{177}}
-\newlabel{150@vr}{{}{177}}
-\newlabel{fig:servo-pot}{{10.4}{177}}
-\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{178}\protected@file@percent }
-\newlabel{tab:servo-pot}{{10.5}{178}}
-\newlabel{151@xvr}{{}{178}}
-\newlabel{151@vr}{{}{178}}
-\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{178}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{178}\protected@file@percent }
-\newlabel{sec:servo-py}{{10.5.1}{178}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{178}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{179}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{179}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{179}\protected@file@percent }
-\newlabel{sec:servo-python-code}{{10.5.2}{179}}
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{176}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{176}\protected@file@percent }
+\newlabel{136@xvr}{{}{176}}
+\newlabel{136@vr}{{}{176}}
+\newlabel{sci:servo-init}{{10.{1}}{176}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash init.sce}{176}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{176}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}\protected@file@percent }
+\newlabel{137@xvr}{{}{176}}
+\newlabel{137@vr}{{}{176}}
+\newlabel{sci:servo-reverse}{{10.{2}}{176}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash reverse.sce}{177}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{177}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{177}\protected@file@percent }
+\newlabel{138@xvr}{{}{177}}
+\newlabel{138@vr}{{}{177}}
+\newlabel{sci:servo-loop}{{10.{3}}{177}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash loop.sce}{177}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{177}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{177}\protected@file@percent }
+\newlabel{139@xvr}{{}{177}}
+\newlabel{139@vr}{{}{177}}
+\newlabel{sci:servo-pot}{{10.{4}}{177}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo\textendash pot.sce}{177}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{177}\protected@file@percent }
+\newlabel{sec:servo-xcos}{{10.4}{177}}
+\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{178}\protected@file@percent }
+\newlabel{141@xvr}{{}{178}}
+\newlabel{141@vr}{{}{178}}
+\newlabel{fig:servo-init}{{10.1}{178}}
+\@writefile{lot}{\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{178}\protected@file@percent }
+\newlabel{tab:servo-init}{{10.2}{178}}
+\newlabel{142@xvr}{{}{178}}
+\newlabel{142@vr}{{}{178}}
+\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{179}\protected@file@percent }
+\newlabel{144@xvr}{{}{179}}
+\newlabel{144@vr}{{}{179}}
+\newlabel{fig:servo-reverse}{{10.2}{179}}
+\@writefile{lot}{\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{180}\protected@file@percent }
+\newlabel{tab:servo-reverse}{{10.3}{180}}
+\newlabel{145@xvr}{{}{180}}
+\newlabel{145@vr}{{}{180}}
+\@writefile{lof}{\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{180}\protected@file@percent }
+\newlabel{147@xvr}{{}{180}}
+\newlabel{147@vr}{{}{180}}
+\newlabel{fig:servo-loop}{{10.3}{180}}
+\@writefile{lot}{\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{181}\protected@file@percent }
+\newlabel{tab:servo-loop}{{10.4}{181}}
+\newlabel{148@xvr}{{}{181}}
+\newlabel{148@vr}{{}{181}}
+\@writefile{lof}{\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{181}\protected@file@percent }
+\newlabel{150@xvr}{{}{181}}
+\newlabel{150@vr}{{}{181}}
+\newlabel{fig:servo-pot}{{10.4}{181}}
+\@writefile{lot}{\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{182}\protected@file@percent }
+\newlabel{tab:servo-pot}{{10.5}{182}}
+\newlabel{151@xvr}{{}{182}}
+\newlabel{151@vr}{{}{182}}
+\@writefile{toc}{\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{182}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{182}\protected@file@percent }
+\newlabel{sec:servo-py}{{10.5.1}{182}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{182}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{183}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{183}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.5.2}Python Code}{183}\protected@file@percent }
+\newlabel{sec:servo-python-code}{{10.5.2}{183}}
\@writefile{pyd}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{179}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{179}\protected@file@percent }
-\newlabel{152@xvr}{{}{179}}
-\newlabel{152@vr}{{}{179}}
-\newlabel{py:servo-init}{{10.{1}}{179}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{179}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{180}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}\protected@file@percent }
-\newlabel{153@xvr}{{}{180}}
-\newlabel{153@vr}{{}{180}}
-\newlabel{py:servo-reverse}{{10.{2}}{180}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{180}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{181}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{181}\protected@file@percent }
-\newlabel{154@xvr}{{}{181}}
-\newlabel{154@vr}{{}{181}}
-\newlabel{sci:servo-loop}{{10.{3}}{181}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{181}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{182}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{182}\protected@file@percent }
-\newlabel{155@xvr}{{}{182}}
-\newlabel{155@vr}{{}{182}}
-\newlabel{py:servo-pot}{{10.{4}}{182}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{182}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{183}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{183}\protected@file@percent }
-\newlabel{sec:servo-julia}{{10.6.1}{183}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{183}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{184}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{184}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{184}\protected@file@percent }
-\newlabel{sec:servo-julia-code}{{10.6.2}{184}}
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{1}}{}}{183}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{183}\protected@file@percent }
+\newlabel{152@xvr}{{}{183}}
+\newlabel{152@vr}{{}{183}}
+\newlabel{py:servo-init}{{10.{1}}{183}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash init.py}{183}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{2}}{}}{184}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}\protected@file@percent }
+\newlabel{153@xvr}{{}{184}}
+\newlabel{153@vr}{{}{184}}
+\newlabel{py:servo-reverse}{{10.{2}}{184}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash reverse.py}{184}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{3}}{}}{185}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{185}\protected@file@percent }
+\newlabel{154@xvr}{{}{185}}
+\newlabel{154@vr}{{}{185}}
+\newlabel{sci:servo-loop}{{10.{3}}{185}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash loop.py}{185}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{10.{4}}{}}{186}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{186}\protected@file@percent }
+\newlabel{155@xvr}{{}{186}}
+\newlabel{155@vr}{{}{186}}
+\newlabel{py:servo-pot}{{10.{4}}{186}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo\textendash pot.py}{186}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{187}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{187}\protected@file@percent }
+\newlabel{sec:servo-julia}{{10.6.1}{187}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{187}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{188}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{188}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.6.2}Julia Code}{188}\protected@file@percent }
+\newlabel{sec:servo-julia-code}{{10.6.2}{188}}
\@writefile{juliad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{184}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{184}\protected@file@percent }
-\newlabel{156@xvr}{{}{184}}
-\newlabel{156@vr}{{}{184}}
-\newlabel{julia:servo-init}{{10.{1}}{184}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{184}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{184}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}\protected@file@percent }
-\newlabel{157@xvr}{{}{184}}
-\newlabel{157@vr}{{}{184}}
-\newlabel{julia:servo-reverse}{{10.{2}}{184}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{184}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{185}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{185}\protected@file@percent }
-\newlabel{158@xvr}{{}{185}}
-\newlabel{158@vr}{{}{185}}
-\newlabel{julia:servo-loop}{{10.{3}}{185}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{185}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{185}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{185}\protected@file@percent }
-\newlabel{159@xvr}{{}{185}}
-\newlabel{159@vr}{{}{185}}
-\newlabel{julia:servo-pot}{{10.{4}}{185}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{185}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{185}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{185}\protected@file@percent }
-\newlabel{sec:servo-OpenModelica}{{10.7.1}{185}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{186}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{186}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{186}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{186}\protected@file@percent }
-\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{186}}
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{188}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{188}\protected@file@percent }
+\newlabel{156@xvr}{{}{188}}
+\newlabel{156@vr}{{}{188}}
+\newlabel{julia:servo-init}{{10.{1}}{188}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash init.jl}{188}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{188}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{188}\protected@file@percent }
+\newlabel{157@xvr}{{}{188}}
+\newlabel{157@vr}{{}{188}}
+\newlabel{julia:servo-reverse}{{10.{2}}{188}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash reverse.jl}{188}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{189}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{189}\protected@file@percent }
+\newlabel{158@xvr}{{}{189}}
+\newlabel{158@vr}{{}{189}}
+\newlabel{julia:servo-loop}{{10.{3}}{189}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash loop.jl}{189}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{189}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{189}\protected@file@percent }
+\newlabel{159@xvr}{{}{189}}
+\newlabel{159@vr}{{}{189}}
+\newlabel{julia:servo-pot}{{10.{4}}{189}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo\textendash pot.jl}{189}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{189}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{189}\protected@file@percent }
+\newlabel{sec:servo-OpenModelica}{{10.7.1}{189}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{190}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{190}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{190}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{190}\protected@file@percent }
+\newlabel{sec:servo-OpenModelica-code}{{10.7.2}{190}}
\@writefile{OpenModelicad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{186}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{186}\protected@file@percent }
-\newlabel{160@xvr}{{}{186}}
-\newlabel{160@vr}{{}{186}}
-\newlabel{OpenModelica:servo-init}{{10.{1}}{186}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{186}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{187}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{187}\protected@file@percent }
-\newlabel{161@xvr}{{}{187}}
-\newlabel{161@vr}{{}{187}}
-\newlabel{OpenModelica:servo-reverse}{{10.{2}}{187}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{187}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{188}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{188}\protected@file@percent }
-\newlabel{162@xvr}{{}{188}}
-\newlabel{162@vr}{{}{188}}
-\newlabel{OpenModelica:servo-loop}{{10.{3}}{188}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{188}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{188}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{188}\protected@file@percent }
-\newlabel{163@xvr}{{}{188}}
-\newlabel{163@vr}{{}{188}}
-\newlabel{OpenModelica:servo-pot}{{10.{4}}{188}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{189}\protected@file@percent }
-\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{191}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{190}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{190}\protected@file@percent }
+\newlabel{160@xvr}{{}{190}}
+\newlabel{160@vr}{{}{190}}
+\newlabel{OpenModelica:servo-init}{{10.{1}}{190}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash init.mo}{190}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{191}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{191}\protected@file@percent }
+\newlabel{161@xvr}{{}{191}}
+\newlabel{161@vr}{{}{191}}
+\newlabel{OpenModelica:servo-reverse}{{10.{2}}{191}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash reverse.mo}{191}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{192}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{192}\protected@file@percent }
+\newlabel{162@xvr}{{}{192}}
+\newlabel{162@vr}{{}{192}}
+\newlabel{OpenModelica:servo-loop}{{10.{3}}{192}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textendash loop.mo}{192}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{192}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{192}\protected@file@percent }
+\newlabel{163@xvr}{{}{192}}
+\newlabel{163@vr}{{}{192}}
+\newlabel{OpenModelica:servo-pot}{{10.{4}}{192}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo\textunderscore pot.mo}{193}\protected@file@percent }
+\@writefile{toc}{\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{195}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
-\newlabel{modbus}{{11}{191}}
-\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{191}\protected@file@percent }
-\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{192}}
-\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{192}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{192}\protected@file@percent }
-\newlabel{fig:mod-master-slave}{{11.2}{192}}
-\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{193}\protected@file@percent }
-\newlabel{fig:rs-485}{{11.3}{193}}
-\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{194}\protected@file@percent }
-\newlabel{tab:request-packet}{{11.1}{194}}
-\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{194}\protected@file@percent }
-\newlabel{tab:response-packet}{{11.2}{194}}
-\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{195}\protected@file@percent }
-\newlabel{tab:ieee-decimal}{{11.3}{195}}
-\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{195}\protected@file@percent }
-\newlabel{tab:single-precision}{{11.4}{195}}
-\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{196}\protected@file@percent }
-\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{196}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{197}\protected@file@percent }
-\newlabel{fig:full-set-up}{{11.4}{197}}
-\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{197}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{198}\protected@file@percent }
-\newlabel{fig:block-diagram}{{11.5}{198}}
-\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{198}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{199}\protected@file@percent }
-\newlabel{fig:modbus-firmware}{{11.6}{199}}
-\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{200}\protected@file@percent }
-\newlabel{fig:flow-chart}{{11.7}{200}}
-\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{200}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{201}\protected@file@percent }
-\newlabel{fig:current-console}{{11.8}{201}}
-\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{201}\protected@file@percent }
-\newlabel{fig:current-meter}{{11.9}{201}}
-\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{202}\protected@file@percent }
-\newlabel{fig:voltage-console}{{11.10}{202}}
-\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{202}\protected@file@percent }
-\newlabel{fig:voltage-meter}{{11.11}{202}}
-\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{203}\protected@file@percent }
-\newlabel{fig:power-console}{{11.12}{203}}
-\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{203}\protected@file@percent }
-\newlabel{fig:power-meter}{{11.13}{203}}
-\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{203}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{203}\protected@file@percent }
-\newlabel{sec:firmware-modbus}{{11.7.1}{203}}
+\newlabel{modbus}{{11}{195}}
+\@writefile{toc}{\contentsline {section}{\numberline {11.1}Preliminaries}{195}\protected@file@percent }
+\newlabel{fig:mod-block}{{\caption@xref {fig:mod-block}{ on input line 72}}{196}}
+\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{196}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{196}\protected@file@percent }
+\newlabel{fig:mod-master-slave}{{11.2}{196}}
+\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{197}\protected@file@percent }
+\newlabel{fig:rs-485}{{11.3}{197}}
+\@writefile{lot}{\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{198}\protected@file@percent }
+\newlabel{tab:request-packet}{{11.1}{198}}
+\@writefile{lot}{\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{198}\protected@file@percent }
+\newlabel{tab:response-packet}{{11.2}{198}}
+\@writefile{lot}{\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{199}\protected@file@percent }
+\newlabel{tab:ieee-decimal}{{11.3}{199}}
+\@writefile{lot}{\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{199}\protected@file@percent }
+\newlabel{tab:single-precision}{{11.4}{199}}
+\@writefile{toc}{\contentsline {section}{\numberline {11.2}Objective}{200}\protected@file@percent }
+\@writefile{toc}{\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{200}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{201}\protected@file@percent }
+\newlabel{fig:full-set-up}{{11.4}{201}}
+\@writefile{toc}{\contentsline {section}{\numberline {11.4}Software}{201}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{202}\protected@file@percent }
+\newlabel{fig:block-diagram}{{11.5}{202}}
+\@writefile{toc}{\contentsline {section}{\numberline {11.5}Output}{202}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{203}\protected@file@percent }
+\newlabel{fig:modbus-firmware}{{11.6}{203}}
+\@writefile{lof}{\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{204}\protected@file@percent }
+\newlabel{fig:flow-chart}{{11.7}{204}}
+\@writefile{toc}{\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{204}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{205}\protected@file@percent }
+\newlabel{fig:current-console}{{11.8}{205}}
+\@writefile{lof}{\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{205}\protected@file@percent }
+\newlabel{fig:current-meter}{{11.9}{205}}
+\@writefile{lof}{\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{206}\protected@file@percent }
+\newlabel{fig:voltage-console}{{11.10}{206}}
+\@writefile{lof}{\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{206}\protected@file@percent }
+\newlabel{fig:voltage-meter}{{11.11}{206}}
+\@writefile{lof}{\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{207}\protected@file@percent }
+\newlabel{fig:power-console}{{11.12}{207}}
+\@writefile{lof}{\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{207}\protected@file@percent }
+\newlabel{fig:power-meter}{{11.13}{207}}
+\@writefile{toc}{\contentsline {section}{\numberline {11.7}Code}{207}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{207}\protected@file@percent }
+\newlabel{sec:firmware-modbus}{{11.7.1}{207}}
\@writefile{ard}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{203}\protected@file@percent }
-\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{203}\protected@file@percent }
-\newlabel{166@xvr}{{}{203}}
-\newlabel{166@vr}{{}{203}}
-\newlabel{ard:firmware-modbus}{{11.{1}}{203}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{203}\protected@file@percent }
-\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{204}\protected@file@percent }
-\newlabel{165@xvr}{{}{204}}
-\newlabel{165@vr}{{}{204}}
-\newlabel{fig:mod-read}{{11.14}{204}}
-\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{204}\protected@file@percent }
-\newlabel{tab:mod-xcos-read}{{11.5}{204}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{205}\protected@file@percent }
-\newlabel{sec:modbus-scilab-code}{{11.7.2}{205}}
+\@writefile{thm}{\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{207}\protected@file@percent }
+\@writefile{ard}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the firmware for Modbus Energy Meter experiment}{207}\protected@file@percent }
+\newlabel{166@xvr}{{}{207}}
+\newlabel{166@vr}{{}{207}}
+\newlabel{ard:firmware-modbus}{{11.{1}}{207}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send\textunderscore packet.ino}{207}\protected@file@percent }
+\@writefile{lof}{\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{208}\protected@file@percent }
+\newlabel{165@xvr}{{}{208}}
+\newlabel{165@vr}{{}{208}}
+\newlabel{fig:mod-read}{{11.14}{208}}
+\@writefile{lot}{\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{208}\protected@file@percent }
+\newlabel{tab:mod-xcos-read}{{11.5}{208}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{209}\protected@file@percent }
+\newlabel{sec:modbus-scilab-code}{{11.7.2}{209}}
\@writefile{cod}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{205}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{205}\protected@file@percent }
-\newlabel{167@xvr}{{}{205}}
-\newlabel{167@vr}{{}{205}}
-\newlabel{sci:current-modbus}{{11.{1}}{205}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{205}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{205}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{205}\protected@file@percent }
-\newlabel{168@xvr}{{}{205}}
-\newlabel{168@vr}{{}{205}}
-\newlabel{sci:current-modbus}{{11.{2}}{205}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{205}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{205}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{205}\protected@file@percent }
-\newlabel{169@xvr}{{}{205}}
-\newlabel{169@vr}{{}{205}}
-\newlabel{sci:voltage-modbus}{{11.{3}}{205}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{205}\protected@file@percent }
-\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{206}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{206}\protected@file@percent }
-\newlabel{170@xvr}{{}{206}}
-\newlabel{170@vr}{{}{206}}
-\newlabel{sci:modbus-power}{{11.{4}}{206}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{206}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{206}\protected@file@percent }
-\newlabel{sec:modbus-python-code}{{11.7.3}{206}}
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{209}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{209}\protected@file@percent }
+\newlabel{167@xvr}{{}{209}}
+\newlabel{167@vr}{{}{209}}
+\newlabel{sci:current-modbus}{{11.{1}}{209}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore val.sce}{209}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{209}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{209}\protected@file@percent }
+\newlabel{168@xvr}{{}{209}}
+\newlabel{168@vr}{{}{209}}
+\newlabel{sci:current-modbus}{{11.{2}}{209}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore current.sci}{209}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{209}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{209}\protected@file@percent }
+\newlabel{169@xvr}{{}{209}}
+\newlabel{169@vr}{{}{209}}
+\newlabel{sci:voltage-modbus}{{11.{3}}{209}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore voltage.sci}{209}\protected@file@percent }
+\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{210}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{210}\protected@file@percent }
+\newlabel{170@xvr}{{}{210}}
+\newlabel{170@vr}{{}{210}}
+\newlabel{sci:modbus-power}{{11.{4}}{210}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read\textunderscore active\textunderscore power.sci}{210}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.3}Python Code}{210}\protected@file@percent }
+\newlabel{sec:modbus-python-code}{{11.7.3}{210}}
\@writefile{pyd}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{206}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{206}\protected@file@percent }
-\newlabel{171@xvr}{{}{206}}
-\newlabel{171@vr}{{}{206}}
-\newlabel{py:current-modbus}{{11.{1}}{206}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{206}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{206}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{206}\protected@file@percent }
-\newlabel{172@xvr}{{}{206}}
-\newlabel{172@vr}{{}{206}}
-\newlabel{py:voltage-modbus}{{11.{2}}{206}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{206}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{207}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{207}\protected@file@percent }
-\newlabel{173@xvr}{{}{207}}
-\newlabel{173@vr}{{}{207}}
-\newlabel{py:modbus-power}{{11.{3}}{207}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{207}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{207}\protected@file@percent }
-\newlabel{sec:modbus-julia-code}{{11.7.4}{207}}
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{1}}{}}{210}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{210}\protected@file@percent }
+\newlabel{171@xvr}{{}{210}}
+\newlabel{171@vr}{{}{210}}
+\newlabel{py:current-modbus}{{11.{1}}{210}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore current.py}{210}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{2}}{}}{210}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{210}\protected@file@percent }
+\newlabel{172@xvr}{{}{210}}
+\newlabel{172@vr}{{}{210}}
+\newlabel{py:voltage-modbus}{{11.{2}}{210}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore voltage.py}{210}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{11.{3}}{}}{211}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{211}\protected@file@percent }
+\newlabel{173@xvr}{{}{211}}
+\newlabel{173@vr}{{}{211}}
+\newlabel{py:modbus-power}{{11.{3}}{211}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read\textunderscore active\textunderscore power.py}{211}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.4}Julia Code}{211}\protected@file@percent }
+\newlabel{sec:modbus-julia-code}{{11.7.4}{211}}
\@writefile{juliad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{207}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{207}\protected@file@percent }
-\newlabel{174@xvr}{{}{207}}
-\newlabel{174@vr}{{}{207}}
-\newlabel{julia:current-modbus}{{11.{1}}{207}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{207}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{207}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{207}\protected@file@percent }
-\newlabel{175@xvr}{{}{207}}
-\newlabel{175@vr}{{}{207}}
-\newlabel{julia:voltage-modbus}{{11.{2}}{207}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{207}\protected@file@percent }
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{208}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{208}\protected@file@percent }
-\newlabel{176@xvr}{{}{208}}
-\newlabel{176@vr}{{}{208}}
-\newlabel{julia:modbus-power}{{11.{3}}{208}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{208}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{208}\protected@file@percent }
-\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{208}}
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{211}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{211}\protected@file@percent }
+\newlabel{174@xvr}{{}{211}}
+\newlabel{174@vr}{{}{211}}
+\newlabel{julia:current-modbus}{{11.{1}}{211}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.jl}{211}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{211}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{211}\protected@file@percent }
+\newlabel{175@xvr}{{}{211}}
+\newlabel{175@vr}{{}{211}}
+\newlabel{julia:voltage-modbus}{{11.{2}}{211}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.jl}{211}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{212}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{212}\protected@file@percent }
+\newlabel{176@xvr}{{}{212}}
+\newlabel{176@vr}{{}{212}}
+\newlabel{julia:modbus-power}{{11.{3}}{212}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl}{212}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{212}\protected@file@percent }
+\newlabel{sec:modbus-OpenModelica-code}{{11.7.5}{212}}
\@writefile{OpenModelicad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{208}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{208}\protected@file@percent }
-\newlabel{177@xvr}{{}{208}}
-\newlabel{177@vr}{{}{208}}
-\newlabel{OpenModelica:current-modbus}{{11.{1}}{208}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{208}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{208}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{208}\protected@file@percent }
-\newlabel{178@xvr}{{}{208}}
-\newlabel{178@vr}{{}{208}}
-\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{208}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{208}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{212}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{212}\protected@file@percent }
+\newlabel{177@xvr}{{}{212}}
+\newlabel{177@vr}{{}{212}}
+\newlabel{OpenModelica:current-modbus}{{11.{1}}{212}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCurrent.mo}{212}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{212}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{212}\protected@file@percent }
+\newlabel{178@xvr}{{}{212}}
+\newlabel{178@vr}{{}{212}}
+\newlabel{OpenModelica:voltage-modbus}{{11.{2}}{212}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVoltage.mo}{212}\protected@file@percent }
\bibdata{bibliography.bib}
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{209}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{209}\protected@file@percent }
-\newlabel{179@xvr}{{}{209}}
-\newlabel{179@vr}{{}{209}}
-\newlabel{OpenModelica:modbus-power}{{11.{3}}{209}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{209}\protected@file@percent }
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{213}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{213}\protected@file@percent }
+\newlabel{179@xvr}{{}{213}}
+\newlabel{179@vr}{{}{213}}
+\newlabel{OpenModelica:modbus-power}{{11.{3}}{213}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPower.mo}{213}\protected@file@percent }
\bibcite{CNES-Scilab}{1}
\bibcite{scilab-arduino}{2}
\bibcite{oshw-ref}{3}
@@ -1495,6 +1500,6 @@
\bibcite{scilab-ref}{12}
\bibcite{scilab-interop}{13}
\bibcite{xcos-ref}{14}
-\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{211}\protected@file@percent }
+\@writefile{toc}{\contentsline {chapter}{\numberline {References}}{215}\protected@file@percent }
\bibcite{python-ref}{15}
\bibcite{om-ref}{16}
diff --git a/floss-arduino.cod b/floss-arduino.cod
index d5d43ff..c2d4364 100644
--- a/floss-arduino.cod
+++ b/floss-arduino.cod
@@ -11,24 +11,24 @@
\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{88}%
\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{89}%
\addvspace {10pt}
-\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{104}%
-\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{105}%
+\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{105}%
+\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{106}%
\addvspace {10pt}
-\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{123}%
-\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{123}%
-\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{123}%
+\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{125}%
+\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{125}%
+\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{125}%
\addvspace {10pt}
-\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{141}%
+\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}%
\addvspace {10pt}
-\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{155}%
-\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{155}%
+\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{159}%
+\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{159}%
\addvspace {10pt}
-\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{172}%
-\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{172}%
-\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{173}%
-\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{173}%
+\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{176}%
+\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{176}%
+\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{177}%
+\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{177}%
\addvspace {10pt}
-\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{205}%
-\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{205}%
-\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{205}%
-\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{206}%
+\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{209}%
+\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for Single Phase Current Output}{209}%
+\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Voltage Output}{209}%
+\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for Single Phase Active Power Output}{210}%
diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk
index b7b112f..3dbd5d0 100644
--- a/floss-arduino.fdb_latexmk
+++ b/floss-arduino.fdb_latexmk
@@ -1,19 +1,19 @@
# Fdb version 3
-["bibtex floss-arduino"] 1617884099 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1617885075
+["bibtex floss-arduino"] 1617903979 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1617904695
"/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 ""
"bibliography.bib" 1617386964 3464 0dc80d81f59d2ac319f124d77ae8c1cd ""
- "floss-arduino.aux" 1617885074 126130 cda1cd84405d893717dc3f6aaef15ecf "pdflatex"
+ "floss-arduino.aux" 1617904035 126711 79ed7e7305b656d84cddc640850663f8 "pdflatex"
(generated)
- "floss-arduino.blg"
"floss-arduino.bbl"
-["makeindex floss-arduino.idx"] 1617876994 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1617885075
- "floss-arduino.idx" 1617885074 187 a05eb1b6d87503e1c74f523dca5a4bf3 "pdflatex"
+ "floss-arduino.blg"
+["makeindex floss-arduino.idx"] 1617903131 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1617904695
+ "floss-arduino.idx" 1617904035 187 ab5f6591fcb08b484062587f52cf19ae "pdflatex"
(generated)
- "floss-arduino.ilg"
"floss-arduino.ind"
-["pdflatex"] 1617885068 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1617885075
+ "floss-arduino.ilg"
+["pdflatex"] 1617903979 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1617904695
"/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 ""
- "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1617885074 126130 cda1cd84405d893717dc3f6aaef15ecf ""
+ "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1617904035 126711 79ed7e7305b656d84cddc640850663f8 ""
"/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 ""
"/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc" 1165713224 4850 80dc9bab7f31fb78a000ccfed0e27cab ""
"/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 ""
@@ -139,18 +139,18 @@
"/usr/share/texmf/web2c/texmf.cnf" 1581979058 38841 ce3692aa899bb693b90b87eaa5d4d84e ""
"/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1604540077 4770781 1ed1abab22da9c3e2cc82e4db562318b ""
"/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1604540101 8258883 e8330f8aa4fe7c6cdcf08bf0b72237fd ""
- "floss-arduino.OpenModelicad" 1617885074 2297 9dcc6602caea8e66e8d793385673cc99 "pdflatex"
- "floss-arduino.ard" 1617885074 2082 d28286c4c22aaba242b3fee8d82216cc "pdflatex"
- "floss-arduino.aux" 1617885074 126130 cda1cd84405d893717dc3f6aaef15ecf "pdflatex"
- "floss-arduino.bbl" 1617884099 2243 ecd6e796a77fc4300039804f4c573e56 "bibtex floss-arduino"
- "floss-arduino.cod" 1617885074 2525 108706acf97d8fc60436aab2d7f30389 "pdflatex"
- "floss-arduino.ind" 1617876994 228 2e39d66b2fe4cf9dd81c4528bf2ab0f3 "makeindex floss-arduino.idx"
- "floss-arduino.juliad" 1617885074 2311 bd31b933cfed8ab31bf4db814a060324 "pdflatex"
- "floss-arduino.lof" 1617885074 11576 bdd179bad55e524b4665193507d57d74 "pdflatex"
- "floss-arduino.lot" 1617885074 3700 c987c1c772f1961cd9c91f6baab7322b "pdflatex"
- "floss-arduino.pyd" 1617885074 2323 96305cdb4c2c55fda0a8db4c436826bf "pdflatex"
+ "floss-arduino.OpenModelicad" 1617904035 2297 3cee1fe5c621387f4b825de3d47e3063 "pdflatex"
+ "floss-arduino.ard" 1617904035 2082 144e1c4a1ceecea06bea2f1ed0a41c70 "pdflatex"
+ "floss-arduino.aux" 1617904035 126711 79ed7e7305b656d84cddc640850663f8 "pdflatex"
+ "floss-arduino.bbl" 1617903979 2243 ecd6e796a77fc4300039804f4c573e56 "bibtex floss-arduino"
+ "floss-arduino.cod" 1617904035 2525 23bf7b46ddab17c0240a74743428de2d "pdflatex"
+ "floss-arduino.ind" 1617903131 228 d3e6768cdc98af9b465c5549e47f6476 "makeindex floss-arduino.idx"
+ "floss-arduino.juliad" 1617904035 2311 84cd28778389a6f563dbbc5bcc5c6f80 "pdflatex"
+ "floss-arduino.lof" 1617904035 11854 4143f1570782e36fa29e267fca9d1ee9 "pdflatex"
+ "floss-arduino.lot" 1617904035 3700 c48ea70ec33b8151cdfa0ea6d7767811 "pdflatex"
+ "floss-arduino.pyd" 1617904035 2323 e7593eefc031b7614533aacf104d7fb4 "pdflatex"
"floss-arduino.tex" 1616757903 4558 ca761944339060a19cdb71de5337b126 ""
- "floss-arduino.toc" 1617885074 15103 fc79af3d667ff9e6c1f70ba62d4eff83 "pdflatex"
+ "floss-arduino.toc" 1617904035 15215 6d8100dd4cd006094bd02d9a277fa64b "pdflatex"
"suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 ""
"suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c ""
"suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 ""
@@ -199,7 +199,8 @@
"user-code/ldr/OpenModelica/ldr-read.mo" 1615963614 989 9dc1e823b5c929edaae5859675eb0060 ""
"user-code/ldr/arduino/ldr-led/ldr-led.ino" 1615963614 330 447a5a22bd1fde20300f0e2fe8306db3 ""
"user-code/ldr/arduino/ldr-read/ldr-read.ino" 1615963614 223 428416ae1ca1ac683e7cc49bc07972c3 ""
- "user-code/ldr/figures/ard-ldr.png" 1615972711 110313 1f79b3d9e3b9e60b504795e72ae28d61 ""
+ "user-code/ldr/figures/LDR-led.png" 1617898904 240349 523edd11a7bcb1002c01b0410de0183e ""
+ "user-code/ldr/figures/LDR.png" 1617898884 224114 e49e8498f44696b546b524f51d287261 ""
"user-code/ldr/figures/ldr-conn.png" 1615963614 27006 651850b554b0e5f042da89db408bd75e ""
"user-code/ldr/figures/ldr-led.png" 1615963614 75341 98a4b1e9dd0f7ee83ee41500716ce940 ""
"user-code/ldr/figures/ldr-read-xcos.PNG" 1615963614 34063 b0eeeea9642553ea0bb2889cb52cfa60 ""
@@ -207,7 +208,7 @@
"user-code/ldr/figures/ldr_sym.png" 1615963614 29267 73b70e220429569a98caa86348349aa1 ""
"user-code/ldr/julia/ldr-led.jl" 1615963614 226 06e515a8f72e1bd422164e137e169ccd ""
"user-code/ldr/julia/ldr-read.jl" 1615963614 172 3c22e807b98d0e14c9ed24c63191387a ""
- "user-code/ldr/ldr.tex" 1615974800 23938 61497c2f82d5690b5d7c1307b8cd2ec4 ""
+ "user-code/ldr/ldr.tex" 1617903972 25440 740a6c9d297463e6283378f4640d53e4 ""
"user-code/ldr/python/ldr-led.py" 1615963614 866 b724a956c314292b215cf655d7751fc2 ""
"user-code/ldr/python/ldr-read.py" 1615963614 686 16e0ee2162e2f212ba41d2c9d491f534 ""
"user-code/ldr/scilab/ldr-led.sce" 1615963614 444 0895e89b3e22312736acf271c6315dea ""
@@ -235,7 +236,7 @@
"user-code/led/julia/led-blue.jl" 1615963614 127 622bb51db887bc146e7f767e3b1d56f4 ""
"user-code/led/julia/led-green-blink.jl" 1615963614 191 e8ec59164af34e16a5cd0cff9e58f27e ""
"user-code/led/julia/test_firmware.jl" 1615963614 146 0fb4c836e3401ff48c75c309e39d01ba ""
- "user-code/led/led.tex" 1617877063 43501 a3082ea7d55721becf62443c75ab79f1 ""
+ "user-code/led/led.tex" 1617903972 43501 a3082ea7d55721becf62443c75ab79f1 ""
"user-code/led/python/led-blue-delay.py" 1615963614 833 babefa03765e8de3166a7183bb9dea89 ""
"user-code/led/python/led-blue-red.py" 1615963614 1027 6d7d523452db15fd0dc6861ba415eb9b ""
"user-code/led/python/led-blue.py" 1615963614 735 58dfc81f1d62cfc75e56cc9c3485031b ""
@@ -275,11 +276,12 @@
"user-code/modbus/scilab/read_voltage.sci" 1615963614 1100 00726a382c03a31bf874d21d1cc5eb16 ""
"user-code/pot/OpenModelica/pot-threshold.mo" 1615963614 1725 a803c7baa1ed467a26e4d70571b871c7 ""
"user-code/pot/arduino/pot-threshold/pot-threshold.ino" 1615963614 729 004f694d3a949bb3e91a253f78d11914 ""
+ "user-code/pot/figures/POT-led.png" 1617901290 242605 51cb0439c3a4994858196fa90e38d568 ""
"user-code/pot/figures/pot-threshold.PNG" 1615963614 72552 8c710fcf76530bfd3f17d454560b19c4 ""
"user-code/pot/figures/potmeter.png" 1615963614 99691 b56662d8570cfc9c91c52b76f21d1802 ""
"user-code/pot/figures/schematic.png" 1615963614 24453 85099648f5c8e616d3cfd5f3d6d7a7bf ""
"user-code/pot/julia/pot-threshold.jl" 1615963614 457 c32a8f64cd2460150156b5e8cadf050b ""
- "user-code/pot/pot.tex" 1615963614 16668 9fb42ff3e4b4c5c8345ef0eb42f30574 ""
+ "user-code/pot/pot.tex" 1617904695 18165 f042907b0a8be863ecd7c39462324237 ""
"user-code/pot/python/pot-threshold.py" 1615963614 1168 1c8446b4eb191d9326f7c08bd342aa7f ""
"user-code/pot/scilab/pot-threshold.sce" 1615963614 624 2bab29d371a2666f033dd6bccad5bb73 ""
"user-code/push/OpenModelica/led-push-button.mo" 1615963614 1198 120e49f80595079acd4df70592cdf775 ""
@@ -375,18 +377,18 @@
"user-code/thermistor/scilab/therm-read.sce" 1615963614 382 5e743c25b50f9d961a2939ce81d7b633 ""
"user-code/thermistor/thermistor.tex" 1615974011 24283 566b640d2c28a0d62ba94f5644269a22 ""
(generated)
- "floss-arduino.thm"
- "floss-arduino.idx"
+ "floss-arduino.pyd"
"floss-arduino.cod"
- "floss-arduino.juliad"
- "floss-arduino.log"
- "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf"
+ "floss-arduino.ard"
"floss-arduino.OpenModelicad"
+ "floss-arduino.thm"
+ "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log"
+ "floss-arduino.log"
"floss-arduino.lot"
- "floss-arduino.ard"
"floss-arduino.lof"
- "floss-arduino.pdf"
- "floss-arduino.pyd"
- "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log"
- "floss-arduino.aux"
+ "floss-arduino.juliad"
"floss-arduino.toc"
+ "floss-arduino.aux"
+ "floss-arduino.idx"
+ "floss-arduino.pdf"
+ "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf"
diff --git a/floss-arduino.fls b/floss-arduino.fls
index 79b2cc0..d4b0040 100644
--- a/floss-arduino.fls
+++ b/floss-arduino.fls
@@ -561,9 +561,12 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.pn
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR-led.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR-led.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR-led.png
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-read.ino
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-read.ino
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-read.ino
@@ -701,6 +704,9 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.p
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic.png
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic.png
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.png
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/pot-threshold.ino
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/pot-threshold.ino
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/pot-threshold.ino
diff --git a/floss-arduino.idx b/floss-arduino.idx
index f4e4ede..67c4e40 100644
--- a/floss-arduino.idx
+++ b/floss-arduino.idx
@@ -1,5 +1,5 @@
-\indexentry{H-Bridge circuit DC motor}{115}
-\indexentry{H-Bridge}{115}
-\indexentry{L293D,L298}{115}
-\indexentry{PCB breakout board}{115}
-\indexentry{pulse width modulation, PWM}{115}
+\indexentry{H-Bridge circuit DC motor}{117}
+\indexentry{H-Bridge}{117}
+\indexentry{L293D,L298}{117}
+\indexentry{PCB breakout board}{117}
+\indexentry{pulse width modulation, PWM}{117}
diff --git a/floss-arduino.ind b/floss-arduino.ind
index b7e0cde..f141800 100644
--- a/floss-arduino.ind
+++ b/floss-arduino.ind
@@ -1,15 +1,15 @@
\begin{theindex}
- \item H-Bridge, 115
- \item H-Bridge circuit DC motor, 115
+ \item H-Bridge, 117
+ \item H-Bridge circuit DC motor, 117
\indexspace
- \item L293D,L298, 115
+ \item L293D,L298, 117
\indexspace
- \item PCB breakout board, 115
- \item pulse width modulation, PWM, 115
+ \item PCB breakout board, 117
+ \item pulse width modulation, PWM, 117
\end{theindex}
diff --git a/floss-arduino.juliad b/floss-arduino.juliad
index 8d577a8..125c717 100644
--- a/floss-arduino.juliad
+++ b/floss-arduino.juliad
@@ -8,23 +8,23 @@
\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{95}%
\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{95}%
\addvspace {10pt}
-\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{112}%
-\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{112}%
+\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{113}%
+\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{113}%
\addvspace {10pt}
-\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{132}%
-\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{133}%
-\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{133}%
+\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{134}%
+\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{135}%
+\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{135}%
\addvspace {10pt}
-\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{146}%
+\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{149}%
\addvspace {10pt}
-\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{162}%
-\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{163}%
+\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{166}%
+\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{167}%
\addvspace {10pt}
-\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{184}%
-\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}%
-\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{185}%
-\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{185}%
+\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{188}%
+\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{188}%
+\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{189}%
+\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{189}%
\addvspace {10pt}
-\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{207}%
-\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{207}%
-\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{208}%
+\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{211}%
+\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{211}%
+\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for Single Phase Active Power Output}{212}%
diff --git a/floss-arduino.lof b/floss-arduino.lof
index 6aa281b..907b4bc 100644
--- a/floss-arduino.lof
+++ b/floss-arduino.lof
@@ -68,50 +68,52 @@
\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of an LDR}}}{100}%
\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of an LDR}}}{100}%
\contentsline {figure}{\numberline {6.2}{\ignorespaces Internal connection diagram for the LDR on the shield\relax }}{100}%
-\contentsline {figure}{\numberline {6.3}{\ignorespaces Interfacing an LDR with Arduino Uno using a breadboard\relax }}{101}%
-\contentsline {figure}{\numberline {6.4}{\ignorespaces Xcos diagram to read LDR values}}{106}%
-\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{107}%
+\contentsline {figure}{\numberline {6.3}{\ignorespaces An LDR to read its values with Arduino Uno using a breadboard\relax }}{101}%
+\contentsline {figure}{\numberline {6.4}{\ignorespaces An LDR to control an LED with Arduino Uno using a breadboard\relax }}{102}%
+\contentsline {figure}{\numberline {6.5}{\ignorespaces Xcos diagram to read LDR values}}{107}%
+\contentsline {figure}{\numberline {6.6}{\ignorespaces Xcos diagram to read the value of the LDR, which is used to turn the blue LED on or off}}{108}%
\addvspace {10\p@ }
-\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{116}%
-\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{117}%
-\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{117}%
-\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{124}%
-\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{126}%
-\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{127}%
+\contentsline {figure}{\numberline {7.1}{\ignorespaces L293D motor driver board\relax }}{118}%
+\contentsline {figure}{\numberline {7.2}{\ignorespaces A schematic of DC motor connections\relax }}{119}%
+\contentsline {figure}{\numberline {7.3}{\ignorespaces How to connect the DC motor to the Arduino Uno\ board\relax }}{119}%
+\contentsline {figure}{\numberline {7.4}{\ignorespaces Control of DC motor for a specified time from Xcos}}{126}%
+\contentsline {figure}{\numberline {7.5}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{128}%
+\contentsline {figure}{\numberline {7.6}{\ignorespaces Xcos control of the DC motor in forward and reverse directions}}{129}%
\addvspace {10\p@ }
-\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{138}%
-\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{138}%
-\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{138}%
-\contentsline {figure}{\numberline {8.2}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{142}%
+\contentsline {figure}{\numberline {8.1}{\ignorespaces Potentiometer's schematic on the shield\relax }}{140}%
+\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a potentiometer}}}{140}%
+\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Schematic representation of the potentiometer}}}{140}%
+\contentsline {figure}{\numberline {8.2}{\ignorespaces A potentiometer to control an LED with Arduino Uno using a breadboard\relax }}{141}%
+\contentsline {figure}{\numberline {8.3}{\ignorespaces Turning LEDs on through Xcos depending on the potentiometer threshold}}{145}%
\addvspace {10\p@ }
-\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{150}%
-\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{150}%
-\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{150}%
-\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{150}%
-\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{150}%
-\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{150}%
-\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{151}%
-\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{156}%
-\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{157}%
-\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{158}%
-\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{159}%
+\contentsline {figure}{\numberline {9.1}{\ignorespaces Pictorial and symbolic representation of a thermistor\relax }}{154}%
+\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Pictorial representation of a thermistor\cite {therm-wiki}}}}{154}%
+\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Symbolic representation of a thermistor}}}{154}%
+\contentsline {figure}{\numberline {9.2}{\ignorespaces Thermistor and buzzer connection diagrams\relax }}{154}%
+\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {Thermistor connection diagram}}}{154}%
+\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Buzzer connection diagram}}}{154}%
+\contentsline {figure}{\numberline {9.3}{\ignorespaces Interfacing a thermistor with Arduino Uno using a breadboard\relax }}{155}%
+\contentsline {figure}{\numberline {9.4}{\ignorespaces Xcos diagram to read thermistor values}}{160}%
+\contentsline {figure}{\numberline {9.5}{\ignorespaces Output of Xcos diagram to read thermistor values}}{161}%
+\contentsline {figure}{\numberline {9.6}{\ignorespaces Xcos diagram to read the value of thermistor, which is used to turn the buzzer on or off}}{162}%
+\contentsline {figure}{\numberline {9.7}{\ignorespaces Output of Xcos diagram to switch buzzer through thermistor values}}{163}%
\addvspace {10\p@ }
-\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{174}%
-\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{175}%
-\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{176}%
-\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{177}%
+\contentsline {figure}{\numberline {10.1}{\ignorespaces Rotating the servomotor by a fixed angle}}{178}%
+\contentsline {figure}{\numberline {10.2}{\ignorespaces Rotating the servomotor forward and then reverse}}{179}%
+\contentsline {figure}{\numberline {10.3}{\ignorespaces Rotating the servomotor in increments of $20^\circ $}}{180}%
+\contentsline {figure}{\numberline {10.4}{\ignorespaces Rotating the servomotor as suggested by the potentiometer}}{181}%
\addvspace {10\p@ }
-\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{192}%
-\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{192}%
-\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{193}%
-\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{197}%
-\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{198}%
-\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{199}%
-\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{200}%
-\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{201}%
-\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{201}%
-\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{202}%
-\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{202}%
-\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{203}%
-\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{203}%
-\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{204}%
+\contentsline {figure}{\numberline {11.1}{\ignorespaces Block diagram representation of the Protocol\relax }}{196}%
+\contentsline {figure}{\numberline {11.2}{\ignorespaces Master-Slave Query-Response Cycle\relax }}{196}%
+\contentsline {figure}{\numberline {11.3}{\ignorespaces Pins in RS485 module\relax }}{197}%
+\contentsline {figure}{\numberline {11.4}{\ignorespaces MODBUS Set Up for Energy Meter\relax }}{201}%
+\contentsline {figure}{\numberline {11.5}{\ignorespaces Block Diagram for Energy Meter Setup\relax }}{202}%
+\contentsline {figure}{\numberline {11.6}{\ignorespaces Flowchart of Arduino firmware\relax }}{203}%
+\contentsline {figure}{\numberline {11.7}{\ignorespaces Flow Chart of the Modbus Energy Meter Implementation\relax }}{204}%
+\contentsline {figure}{\numberline {11.8}{\ignorespaces Single Phase Current Output on Scilab Console\relax }}{205}%
+\contentsline {figure}{\numberline {11.9}{\ignorespaces Single Phase Current Output on Energy Meter\relax }}{205}%
+\contentsline {figure}{\numberline {11.10}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{206}%
+\contentsline {figure}{\numberline {11.11}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{206}%
+\contentsline {figure}{\numberline {11.12}{\ignorespaces Single Phase Voltage Output on Scilab Console\relax }}{207}%
+\contentsline {figure}{\numberline {11.13}{\ignorespaces Single Phase Voltage Output on Energy Meter\relax }}{207}%
+\contentsline {figure}{\numberline {11.14}{\ignorespaces Xcos diagram to read Energy Meter values}}{208}%
diff --git a/floss-arduino.log b/floss-arduino.log
index 9060da4..88f6c8d 100644
--- a/floss-arduino.log
+++ b/floss-arduino.log
@@ -1,4 +1,4 @@
-This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 8 APR 2021 18:04
+This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 8 APR 2021 23:17
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
@@ -526,7 +526,7 @@ Overfull \hbox (74.6947pt too wide) detected at line 9
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] [5]
-Overfull \hbox (42.2769pt too wide) detected at line 204
+Overfull \hbox (42.2769pt too wide) detected at line 205
\T1/cmr/bx/n/10.95 References
[]
@@ -537,16 +537,16 @@ Overfull \hbox (42.2769pt too wide) detected at line 204
[6] (./floss-arduino.lof [7
] [8]
-Overfull \hbox (4.98741pt too wide) in paragraph at lines 85--85
+Overfull \hbox (4.98741pt too wide) in paragraph at lines 87--87
[][] []\T1/cmr/m/n/10.95 Turning LEDs on through Xcos de-pend-ing on the po-te
n-tiome-ter thresh-
[]
-)
+[9])
\tf@lof=\write6
\openout6 = `floss-arduino.lof'.
- [9] [10] (./floss-arduino.lot [11
+ [10] (./floss-arduino.lot [11
])
\tf@lot=\write7
@@ -1582,85 +1582,98 @@ Underfull \vbox (badness 3333) has occurred while \output is active []
[100 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr.jpg>
</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr_sym.png>
</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-conn.png>]
-</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.png, i
-d=520, 1086.0575pt x 601.24625pt>
-File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.p
+</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png, id=52
+0, 455.301pt x 208.78pt>
+File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png G
+raphic file (type png)
+<use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png>
+Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld
+r/figures/LDR.png used on input line 102.
+(pdftex.def) Requested size: 397.48499pt x 182.27425pt.
+ [101 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR.png>
+]
+</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR-led.png, i
+d=525, 455.301pt x 257.763pt>
+File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR-led.p
ng Graphic file (type png)
-<use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.pn
+<use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/LDR-led.pn
g>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld
-r/figures/ard-ldr.png used on input line 99.
-(pdftex.def) Requested size: 397.48499pt x 220.05396pt.
- [101 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ard-ldr.
-png>]
+r/figures/LDR-led.png used on input line 125.
+(pdftex.def) Requested size: 397.48499pt x 225.03864pt.
+
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r
ead.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r
-ead.ino)
+ead.ino) [102 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/
+LDR-led.png>]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r
ead.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-read/ldr-r
-ead.ino [102])
+ead.ino [103])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/arduino/ldr-led/ldr-le
-d.ino) [103]
-Overfull \hbox (19.20517pt too wide) in paragraph at lines 200--211
+d.ino) [104]
+Overfull \hbox (19.20517pt too wide) in paragraph at lines 227--238
[]\T1/cmr/m/n/10.95 In this ex-per-i-ment, we will ob-serve the sat-u-ra-tion p
oint of LDR, see Scilab Code 6.2[].
[]
-(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-read.sce
-[104])
+(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-read.sce)
+[105]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/scilab/ldr-led.sce)
-Overfull \hbox (0.34052pt too wide) in paragraph at lines 244--250
+Overfull \hbox (0.34052pt too wide) in paragraph at lines 271--277
\T1/cmr/m/n/10.95 Next, we shall per-form the above men-tioned ex-per-i-ment, t
o read LDR val-ues, through
[]
</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-xcos.
-PNG, id=535, 257.46187pt x 304.13625pt>
+PNG, id=540, 257.46187pt x 304.13625pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-
xcos.PNG Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-x
cos.PNG>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld
-r/figures/ldr-read-xcos.PNG used on input line 260.
+r/figures/ldr-read-xcos.PNG used on input line 287.
(pdftex.def) Requested size: 178.86702pt x 211.2975pt.
-[105]
</home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.png, i
-d=539, 769.87625pt x 640.3925pt>
+d=541, 769.87625pt x 640.3925pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.p
ng Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-led.pn
g>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/ld
-r/figures/ldr-led.png used on input line 316.
+r/figures/ldr-led.png used on input line 343.
(pdftex.def) Requested size: 258.36281pt x 214.91635pt.
-Overfull \hbox (4.77844pt too wide) in paragraph at lines 337--357
+Overfull \hbox (4.77844pt too wide) in paragraph at lines 364--384
[][]
[]
-[106 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr-read-
-xcos.PNG>] [107 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figure
-s/ldr-led.png>] [108]
-(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-read.py
-[109])
-(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py
-[110])
+[106] [107 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/figures/ldr
+-read-xcos.PNG>] [108 </home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/
+figures/ldr-led.png>] [109]
+(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-read.py)
+[110]
+(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/python/ldr-led.py)
+Underfull \vbox (badness 10000) has occurred while \output is active []
+
+ [111]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/push/julia/led-push-button
-.jl) [111]
-(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-read.jl)
+.jl) (/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-read.jl
+[112])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/julia/ldr-led.jl)
-[112]
+[113]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/push/OpenModelica/led-push
-button.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-read.
-mo [113])
+mo [114])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/ldr/OpenModelica/ldr-led.m
-o)) (./user-code/dcmotor/dcmotor.tex [114]
+o)) (./user-code/dcmotor/dcmotor.tex [115] [116
+
+]
Chapter 7.
</home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor_bo
-ard.png, id=570, 247.92625pt x 232.87pt>
+ard.png, id=579, 247.92625pt x 232.87pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmot
or_board.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmoto
@@ -1668,11 +1681,9 @@ r_board.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc
motor/figures/dcmotor_board.png used on input line 62.
(pdftex.def) Requested size: 258.36281pt x 242.69075pt.
-[115
-
-]
+[117]
</home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schematic.
-png, id=575, 415.5525pt x 467.7475pt>
+png, id=583, 415.5525pt x 467.7475pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem
atic.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schema
@@ -1681,7 +1692,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc
motor/figures/schematic.png used on input line 102.
(pdftex.def) Requested size: 178.86702pt x 201.33447pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dc_motor_d
-escription.jpg, id=576, 2469.97781pt x 1973.12157pt>
+escription.jpg, id=584, 2469.97781pt x 1973.12157pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dc_mo
tor_description.jpg Graphic file (type jpg)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dc_mot
@@ -1689,41 +1700,41 @@ or_description.jpg>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc
motor/figures/dc_motor_description.jpg used on input line 108.
(pdftex.def) Requested size: 258.36281pt x 206.38603pt.
- [116 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo
+ [118 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo
tor_board.png>]
Overfull \vbox (9.00647pt too high) has occurred while \output is active []
-[117 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem
+[119 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/schem
atic.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/
-dc_motor_description.jpg>] [118]
+dc_motor_description.jpg>] [120]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-cl
ock/dcmotor-clock.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-bo
th/dcmotor-both.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/arduino/dcmotor-lo
-op/dcmotor-loop.ino [119])
+op/dcmotor-loop.ino [121])
Underfull \hbox (badness 10000) in paragraph at lines 221--237
[]
-[120]
+[122]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo
ck.sce)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo
-ck.sce) [121]
+ck.sce) [123]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo
ck.sce)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo
-ck.sce) [122]
+ck.sce) [124]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-clo
ck.sce)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-bot
h.sce)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/scilab/dcmotor-loo
-p.sce [123])
+p.sce [125])
</home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-cl
-ock.png, id=605, 275.52937pt x 290.58563pt>
+ock.png, id=614, 275.52937pt x 290.58563pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmot
or-clock.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmoto
@@ -1731,10 +1742,10 @@ r-clock.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc
motor/figures/dcmotor-clock.png used on input line 399.
(pdftex.def) Requested size: 178.86702pt x 188.64784pt.
- [124 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo
+ [126 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmo
tor-clock.png>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-bo
-th.png, id=610, 292.09125pt x 322.95656pt>
+th.png, id=618, 292.09125pt x 322.95656pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmot
or-both.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmoto
@@ -1743,7 +1754,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc
motor/figures/dcmotor-both.png used on input line 453.
(pdftex.def) Requested size: 178.86702pt x 197.77196pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmotor-lo
-op.png, id=611, 281.55188pt x 307.90031pt>
+op.png, id=619, 281.55188pt x 307.90031pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmot
or-loop.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figures/dcmoto
@@ -1751,30 +1762,30 @@ r-loop.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/dc
motor/figures/dcmotor-loop.png used on input line 497.
(pdftex.def) Requested size: 178.86702pt x 195.60847pt.
- [125] [126 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure
-s/dcmotor-both.png>] [127 </home/fossee/Desktop/floss-scilab-arduino/user-code/
-dcmotor/figures/dcmotor-loop.png>] [128]
+ [127] [128 </home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/figure
+s/dcmotor-both.png>] [129 </home/fossee/Desktop/floss-scilab-arduino/user-code/
+dcmotor/figures/dcmotor-loop.png>] [130]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-clo
-ck.py [129])
+ck.py [131])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-bot
-h.py) [130]
+h.py) [132]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/python/dcmotor-loo
-p.py) [131]
+p.py) [133]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-cloc
-k.jl [132])
+k.jl [134])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-both
.jl)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/julia/dcmotor-loop
-.jl) [133]
+.jl) [135]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot
or-clock.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot
-or-both.mo [134])
+or-both.mo [136])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/dcmotor/OpenModelica/dcmot
-or-loop.mo [135])) (./user-code/pot/pot.tex [136]
+or-loop.mo [137])) (./user-code/pot/pot.tex [138]
Chapter 8.
</home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.png,
-id=652, 1576.38937pt x 1305.37688pt>
+id=660, 1576.38937pt x 1305.37688pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.
png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.p
@@ -1783,7 +1794,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po
t/figures/potmeter.png used on input line 65.
(pdftex.def) Requested size: 178.86702pt x 148.11337pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic.png,
- id=653, 415.5525pt x 417.56pt>
+ id=661, 415.5525pt x 417.56pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic
.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic.
@@ -1791,22 +1802,38 @@ png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po
t/figures/schematic.png used on input line 68.
(pdftex.def) Requested size: 178.86702pt x 179.73206pt.
-[137
+[139
+
+]
+</home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.png, i
+d=666, 453.695pt x 243.309pt>
+File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.p
+ng Graphic file (type png)
+<use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/POT-led.pn
+g>
+Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po
+t/figures/POT-led.png used on input line 110.
+(pdftex.def) Requested size: 397.48499pt x 213.16588pt.
-] [138 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmete
-r.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schemat
-ic.png>]
+Overfull \hbox (9.68646pt too wide) in paragraph at lines 109--111
+ [] []
+ []
+
+[140 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/potmeter.
+png> </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/schematic
+.png>] [141 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/PO
+T-led.png>]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/
pot-threshold.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/
pot-threshold.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/arduino/pot-threshold/
-pot-threshold.ino [139])
+pot-threshold.ino [142])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s
ce)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s
-ce) [140]
-Overfull \hbox (6.93184pt too wide) in paragraph at lines 171--175
+ce) [143]
+Overfull \hbox (6.93184pt too wide) in paragraph at lines 197--201
[]\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh-
old. Avail-
[]
@@ -1815,60 +1842,62 @@ old. Avail-
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/scilab/pot-threshold.s
ce)
</home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot-threshold.
-PNG, id=669, 548.80031pt x 493.845pt>
+PNG, id=682, 548.80031pt x 493.845pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot-thres
hold.PNG Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot-thresh
old.PNG>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/po
-t/figures/pot-threshold.PNG used on input line 189.
+t/figures/pot-threshold.PNG used on input line 215.
(pdftex.def) Requested size: 258.36281pt x 232.49149pt.
-Overfull \hbox (4.77844pt too wide) in paragraph at lines 207--236
+Overfull \hbox (4.77844pt too wide) in paragraph at lines 233--262
[][]
[]
-[141] [142 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot
+[144] [145 </home/fossee/Desktop/floss-scilab-arduino/user-code/pot/figures/pot
-threshold.PNG>]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p
y)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p
-y [143])
+y [146])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/python/pot-threshold.p
-y [144])
+y [147])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl
)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl
)
-Overfull \hbox (9.15074pt too wide) in paragraph at lines 289--290
+Overfull \hbox (9.15074pt too wide) in paragraph at lines 315--316
\T1/cmr/m/n/10.95 where \T1/fvm/m/n/10.95 digiWrite \T1/cmr/m/n/10.95 is used t
o set the pin 11 high (1) or low (0). We used \T1/fvm/m/n/10.95 sleep(1000)
[]
-Overfull \hbox (0.88127pt too wide) in paragraph at lines 296--300
+Overfull \hbox (0.88127pt too wide) in paragraph at lines 322--326
[]\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh-
old. Avail-
[]
-[145]
+[148]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/julia/pot-threshold.jl
)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres
hold.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres
-hold.mo [146])
-Overfull \hbox (7.95369pt too wide) in paragraph at lines 319--323
+hold.mo [149])
+Overfull \hbox (7.95369pt too wide) in paragraph at lines 345--349
[]\T1/cmr/m/n/10.95 Turning on LEDs de-pend-ing on the po-ten-tiome-ter thresh-
[]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/pot/OpenModelica/pot-thres
-hold.mo [147])) (./user-code/thermistor/thermistor.tex [148]
+hold.mo [150])) (./user-code/thermistor/thermistor.tex [151] [152
+
+]
Chapter 9.
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC-bea
-d.jpg, id=696, 139.9629pt x 126.2316pt>
+d.jpg, id=713, 139.9629pt x 126.2316pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT
C-bead.jpg Graphic file (type jpg)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NTC
@@ -1877,13 +1906,13 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th
ermistor/figures/NTC-bead.jpg used on input line 70.
(pdftex.def) Requested size: 178.86702pt x 161.32933pt.
-LaTeX Warning: Citation `therm-wiki' on page 149 undefined on input line 70.
+LaTeX Warning: Citation `therm-wiki' on page 153 undefined on input line 70.
-LaTeX Warning: Citation `therm-wiki' on page 149 undefined on input line 70.
+LaTeX Warning: Citation `therm-wiki' on page 153 undefined on input line 70.
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-s
-ym.png, id=697, 1284.8pt x 913.4125pt>
+ym.png, id=714, 1284.8pt x 913.4125pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
erm-sym.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the
@@ -1892,7 +1921,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th
ermistor/figures/therm-sym.png used on input line 73.
(pdftex.def) Requested size: 119.2467pt x 84.76808pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/THERMIS
-TOR-Diagram-crop.pdf, id=698, 329.23pt x 422.57875pt>
+TOR-Diagram-crop.pdf, id=715, 329.23pt x 422.57875pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/TH
ERMISTOR-Diagram-crop.pdf Graphic file (type pdf)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/THE
@@ -1901,7 +1930,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th
ermistor/figures/THERMISTOR-Diagram-crop.pdf used on input line 83.
(pdftex.def) Requested size: 178.86702pt x 229.58835pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BUZZER-
-Diagram-crop.pdf, id=699, 307.1475pt x 366.36874pt>
+Diagram-crop.pdf, id=716, 307.1475pt x 366.36874pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BU
ZZER-Diagram-crop.pdf Graphic file (type pdf)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/BUZ
@@ -1909,19 +1938,17 @@ ZER-Diagram-crop.pdf>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th
ermistor/figures/BUZZER-Diagram-crop.pdf used on input line 87.
(pdftex.def) Requested size: 178.86702pt x 213.35492pt.
-[149
-
-]
+[153]
Overfull \vbox (30.13353pt too high) has occurred while \output is active []
-[150 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT
+[154 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/NT
C-bead.jpg> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/fig
ures/therm-sym.png> </home/fossee/Desktop/floss-scilab-arduino/user-code/thermi
stor/figures/THERMISTOR-Diagram-crop.pdf> </home/fossee/Desktop/floss-scilab-ar
duino/user-code/thermistor/figures/BUZZER-Diagram-crop.pdf>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard-the
-rm.png, id=719, 1083.04625pt x 550.055pt>
+rm.png, id=736, 1083.04625pt x 550.055pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ar
d-therm.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/ard
@@ -1935,18 +1962,18 @@ ead/therm-read.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r
ead/therm-read.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r
-ead/therm-read.ino) [151 </home/fossee/Desktop/floss-scilab-arduino/user-code/t
+ead/therm-read.ino) [155 </home/fossee/Desktop/floss-scilab-arduino/user-code/t
hermistor/figures/ard-therm.png>]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-r
-ead/therm-read.ino [152])
+ead/therm-read.ino [156])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/arduino/therm-b
-uzzer/therm-buzzer.ino) [153] [154]
+uzzer/therm-buzzer.ino) [157] [158]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-re
ad.sce)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/scilab/therm-bu
-zzer.sce [155])
+zzer.sce [159])
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r
-ead-xcos.png, id=739, 617.30624pt x 548.0475pt>
+ead-xcos.png, id=756, 617.30624pt x 548.0475pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
erm-read-xcos.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the
@@ -1955,7 +1982,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th
ermistor/figures/therm-read-xcos.png used on input line 280.
(pdftex.def) Requested size: 194.76982pt x 172.91183pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-r
-ead.png, id=740, 632.3625pt x 529.98pt>
+ead.png, id=757, 632.3625pt x 529.98pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
erm-read.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the
@@ -1963,10 +1990,10 @@ rm-read.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th
ermistor/figures/therm-read.png used on input line 313.
(pdftex.def) Requested size: 194.76982pt x 163.23271pt.
- [156 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t
+ [160 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t
herm-read-xcos.png>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b
-uzzer-xcos.png, id=745, 627.34375pt x 530.98375pt>
+uzzer-xcos.png, id=762, 627.34375pt x 530.98375pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
erm-buzzer-xcos.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the
@@ -1979,10 +2006,10 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 347--367
[][]
[]
-[157 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
+[161 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
erm-read.png>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/therm-b
-uzzer.png, id=751, 612.2875pt x 589.20125pt>
+uzzer.png, id=767, 612.2875pt x 589.20125pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
erm-buzzer.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/the
@@ -1990,30 +2017,30 @@ rm-buzzer.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/th
ermistor/figures/therm-buzzer.png used on input line 373.
(pdftex.def) Requested size: 178.86702pt x 172.12265pt.
- [158 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t
+ [162 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/t
herm-buzzer-xcos.png>]
-LaTeX Warning: Text page 159 contains only floats.
+LaTeX Warning: Text page 163 contains only floats.
-[159 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
+[163 </home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/figures/th
erm-buzzer.png>]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-re
-ad.py [160])
+ad.py [164])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/python/therm-bu
-zzer.py [161])
+zzer.py [165])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-rea
-d.jl [162])
+d.jl [166])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/julia/therm-buz
-zer.jl) [163]
+zer.jl) [167]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th
-erm-read.mo [164])
+erm-read.mo [168])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/thermistor/OpenModelica/th
-erm-buzzer.mo) [165]) (./user-code/servo/servo.tex [166]
+erm-buzzer.mo) [169]) (./user-code/servo/servo.tex [170]
Chapter 10.
Underfull \vbox (badness 1975) has occurred while \output is active []
- [167
+ [171
]
Overfull \hbox (23.49748pt too wide) in paragraph at lines 90--98
@@ -2021,17 +2048,17 @@ Overfull \hbox (23.49748pt too wide) in paragraph at lines 90--98
by $\OT1/cmr/m/n/10.95 30[]$ \T1/cmr/m/n/10.95 us-ing Ar-duino Code 10.1[].
[]
-[168]
+[172]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-init/s
-ervo-init.ino [169])
+ervo-init.ino [173])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-revers
e/servo-reverse.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-loop/s
-ervo-loop.ino) [170]
+ervo-loop.ino) [174]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/arduino/servo-pot/se
rvo-pot.ino)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-init.sc
-e) [171]
+e) [175]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce
)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce
@@ -2039,13 +2066,13 @@ e) [171]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-init.sc
e)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-reverse
-.sce [172])
+.sce [176])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-loop.sc
e)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/scilab/servo-pot.sce
)
</home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-init.p
-ng, id=805, 265.74281pt x 309.40594pt>
+ng, id=822, 265.74281pt x 309.40594pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-i
nit.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-in
@@ -2053,9 +2080,9 @@ it.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/se
rvo/figures/servo-init.png used on input line 299.
(pdftex.def) Requested size: 178.86702pt x 208.2593pt.
- [173]
+ [177]
</home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-revers
-e.png, id=809, 244.66406pt x 281.55188pt>
+e.png, id=826, 244.66406pt x 281.55188pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r
everse.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-re
@@ -2066,10 +2093,10 @@ rvo/figures/servo-reverse.png used on input line 334.
Underfull \vbox (badness 3199) has occurred while \output is active []
- [174 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-
+ [178 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-
init.png>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-loop.p
-ng, id=813, 281.55188pt x 347.04657pt>
+ng, id=830, 281.55188pt x 347.04657pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l
oop.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-lo
@@ -2078,7 +2105,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/se
rvo/figures/servo-loop.png used on input line 372.
(pdftex.def) Requested size: 178.86702pt x 220.47803pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-pot.pn
-g, id=814, 286.06876pt x 292.09125pt>
+g, id=831, 286.06876pt x 292.09125pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-p
ot.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-po
@@ -2087,38 +2114,38 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/se
rvo/figures/servo-pot.png used on input line 415.
(pdftex.def) Requested size: 178.86702pt x 182.63234pt.
-[175 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r
+[179 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-r
everse.png>]
Overfull \hbox (17.60953pt too wide) in paragraph at lines 435--446
[][]
[]
-[176 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l
+[180 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-l
oop.png>]
-LaTeX Warning: Reference `sec:py-start' on page 177 undefined on input line 459
+LaTeX Warning: Reference `sec:py-start' on page 181 undefined on input line 459
.
Underfull \vbox (badness 10000) has occurred while \output is active []
- [177 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-
+ [181 </home/fossee/Desktop/floss-scilab-arduino/user-code/servo/figures/servo-
pot.png>]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-init.py
-) [178]
+) [182]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-init.py
-[179])
+[183])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-reverse
-.py [180])
+.py [184])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-loop.py
-[181])
+[185])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/python/servo-pot.py
-[182])
+[186])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl)
-[183]
+[187]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-init.jl)
@@ -2130,10 +2157,10 @@ vers-ing. Avail-
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-reverse.
-jl) [184]
+jl) [188]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-loop.jl)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/julia/servo-pot.jl)
-[185]
+[189]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-i
nit.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo_p
@@ -2141,19 +2168,19 @@ ot.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo_p
ot.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-i
-nit.mo [186])
+nit.mo [190])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-r
-everse.mo [187])
+everse.mo [191])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo-l
oop.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/servo/OpenModelica/servo_p
-ot.mo [188])) (./user-code/modbus/modbus.tex [189] [190
+ot.mo [192])) (./user-code/modbus/modbus.tex [193] [194
]
Chapter 11.
-[191]
+[195]
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.png, i
-d=869, 672.5125pt x 224.84pt>
+d=886, 672.5125pt x 224.84pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.p
ng Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.pn
@@ -2162,7 +2189,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/fig1.png used on input line 71.
(pdftex.def) Requested size: 357.73405pt x 119.60033pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig2.png, i
-d=870, 360.34625pt x 375.4025pt>
+d=887, 360.34625pt x 375.4025pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig2.p
ng Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig2.pn
@@ -2171,7 +2198,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/fig2.png used on input line 79.
(pdftex.def) Requested size: 178.86702pt x 186.33748pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig3.png, i
-d=871, 481.04718pt x 214.55156pt>
+d=888, 481.04718pt x 214.55156pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig3.p
ng Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig3.pn
@@ -2179,12 +2206,12 @@ g>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/fig3.png used on input line 106.
(pdftex.def) Requested size: 357.73405pt x 159.55464pt.
- [192 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.
+ [196 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/fig1.
png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/fig
-ures/fig2.png (PNG copy)>] [193 </home/fossee/Desktop/floss-scilab-arduino/user
--code/modbus/figures/fig3.png (PNG copy)>] [194] [195]
+ures/fig2.png (PNG copy)>] [197 </home/fossee/Desktop/floss-scilab-arduino/user
+-code/modbus/figures/fig3.png (PNG copy)>] [198] [199]
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Set-Up
-.png, id=886, 722.7pt x 542.025pt>
+.png, id=903, 722.7pt x 542.025pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-S
et-Up.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-Se
@@ -2192,9 +2219,9 @@ t-Up.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/Full-Set-Up.png used on input line 300.
(pdftex.def) Requested size: 258.36281pt x 193.77246pt.
- [196]
+ [200]
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-diagr
-am.PNG, id=890, 398.23781pt x 255.95625pt>
+am.PNG, id=907, 398.23781pt x 255.95625pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-
diagram.PNG Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-d
@@ -2203,7 +2230,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/block-diagram.PNG used on input line 329.
(pdftex.def) Requested size: 258.36281pt x 166.06104pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/arduino_cod
-e_flowchart.png, id=891, 327.2225pt x 480.79625pt>
+e_flowchart.png, id=908, 327.2225pt x 480.79625pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/arduin
o_code_flowchart.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/arduino
@@ -2211,10 +2238,10 @@ _code_flowchart.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/arduino_code_flowchart.png used on input line 348.
(pdftex.def) Requested size: 258.36281pt x 379.61945pt.
- [197 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-
+ [201 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/Full-
Set-Up.png>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowchart.p
-ng, id=896, 482.55281pt x 362.10281pt>
+ng, id=913, 482.55281pt x 362.10281pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch
art.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowcha
@@ -2223,7 +2250,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/flowchart.png used on input line 376.
(pdftex.def) Requested size: 357.73405pt x 268.44914pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/current-out
-put.png, id=897, 1028.34187pt x 578.16pt>
+put.png, id=914, 1028.34187pt x 578.16pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/curren
t-output.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/current
@@ -2232,7 +2259,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/current-output.png used on input line 393.
(pdftex.def) Requested size: 397.48499pt x 223.4789pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/current-out
-put-setup.jpg, id=898, 2509.375pt x 1411.2725pt>
+put-setup.jpg, id=915, 2509.375pt x 1411.2725pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/curren
t-output-setup.jpg Graphic file (type jpg)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/current
@@ -2241,7 +2268,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/current-output-setup.jpg used on input line 400.
(pdftex.def) Requested size: 258.36281pt x 145.29163pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltage-out
-put.png, id=899, 1028.34187pt x 578.16pt>
+put.png, id=916, 1028.34187pt x 578.16pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltag
e-output.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltage
@@ -2250,7 +2277,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/voltage-output.png used on input line 412.
(pdftex.def) Requested size: 397.48499pt x 223.4789pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltage-out
-put-setup.jpg, id=900, 2509.375pt x 1411.2725pt>
+put-setup.jpg, id=917, 2509.375pt x 1411.2725pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltag
e-output-setup.jpg Graphic file (type jpg)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/voltage
@@ -2259,7 +2286,7 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/voltage-output-setup.jpg used on input line 419.
(pdftex.def) Requested size: 258.36281pt x 145.29163pt.
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active-powe
-r-output.png, id=901, 1028.34187pt x 578.16pt>
+r-output.png, id=918, 1028.34187pt x 578.16pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active
-power-output.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active-
@@ -2268,10 +2295,10 @@ Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/mo
dbus/figures/active-power-output.png used on input line 429.
(pdftex.def) Requested size: 397.48499pt x 223.4789pt.
-[198 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-
+[202 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/block-
diagram.PNG>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active-powe
-r-output-setup.jpg, id=906, 2509.375pt x 1411.2725pt>
+r-output-setup.jpg, id=923, 2509.375pt x 1411.2725pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active
-power-output-setup.jpg Graphic file (type jpg)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/active-
@@ -2282,10 +2309,10 @@ dbus/figures/active-power-output-setup.jpg used on input line 436.
Underfull \vbox (badness 10000) has occurred while \output is active []
- [199 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui
+ [203 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/ardui
no_code_flowchart.png>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/read_value_
-xcos.png, id=912, 635.37375pt x 455.7025pt>
+xcos.png, id=928, 635.37375pt x 455.7025pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/read_v
alue_xcos.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/read_va
@@ -2304,46 +2331,46 @@ Overfull \hbox (16.70493pt too wide) in paragraph at lines 479--491
[][]
[]
-[200 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch
-art.png (PNG copy)>] [201 </home/fossee/Desktop/floss-scilab-arduino/user-code/
+[204 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/flowch
+art.png (PNG copy)>] [205 </home/fossee/Desktop/floss-scilab-arduino/user-code/
modbus/figures/current-output.png (PNG copy)> </home/fossee/Desktop/floss-scila
b-arduino/user-code/modbus/figures/current-output-setup.jpg>]
Underfull \vbox (badness 10000) has occurred while \output is active []
- [202 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta
+ [206 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/volta
ge-output.png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/user-code/
modbus/figures/voltage-output-setup.jpg>]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/arduino/send_packet
-.ino [203 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a
+.ino [207 </home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/figures/a
ctive-power-output.png (PNG copy)> </home/fossee/Desktop/floss-scilab-arduino/u
-ser-code/modbus/figures/active-power-output-setup.jpg>] [204 </home/fossee/Desk
+ser-code/modbus/figures/active-power-output-setup.jpg>] [208 </home/fossee/Desk
top/floss-scilab-arduino/user-code/modbus/figures/read_value_xcos.png>])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_val.sce
)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_current
.sci)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_voltage
-.sci [205])
+.sci [209])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/scilab/read_active_
power.sci)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_current
.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_voltage
-.py [206])
+.py [210])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/python/read_active_
power.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readCurrent.j
l)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readVoltage.j
-l [207])
+l [211])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/julia/readPower.jl)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readCu
rrent.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readVo
-ltage.mo [208])
+ltage.mo [212])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/modbus/OpenModelica/readPo
-wer.mo)) (./floss-arduino.bbl [209] [210
+wer.mo)) (./floss-arduino.bbl [213] [214
]
Underfull \hbox (badness 10000) in paragraph at lines 4--9
@@ -2374,11 +2401,11 @@ Overfull \hbox (15.39987pt too wide) in paragraph at lines 49--53
/Skittles_M%26M%27s
[]
-[211])
+[215])
\tf@thm=\write13
\openout13 = `floss-arduino.thm'.
- [212] (./floss-arduino.aux)
+ [216] (./floss-arduino.aux)
LaTeX Warning: There were undefined references.
@@ -2387,10 +2414,10 @@ LaTeX Warning: There were multiply-defined labels.
)
Here is how much of TeX's memory you used:
- 9678 strings out of 481239
- 205767 string characters out of 5920377
+ 9692 strings out of 481239
+ 206577 string characters out of 5920377
742688 words of memory out of 5000000
- 24229 multiletter control sequences out of 15000+600000
+ 24241 multiletter control sequences out of 15000+600000
554670 words of font info for 69 fonts, out of 8000000 for 9000
1143 hyphenation exceptions out of 8191
50i,11n,53p,467b,1777s stack positions out of 5000i,500n,10000p,200000b,80000s
@@ -2418,10 +2445,10 @@ sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts
er/sfrm1200.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfsi1095.pfb></us
r/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></usr/share/texmf/fonts/
type1/public/cm-super/sfti1095.pfb>
-Output written on floss-arduino.pdf (236 pages, 24013496 bytes).
+Output written on floss-arduino.pdf (240 pages, 24413688 bytes).
PDF statistics:
- 1053 PDF objects out of 1200 (max. 8388607)
- 623 compressed objects within 7 object streams
+ 1069 PDF objects out of 1200 (max. 8388607)
+ 631 compressed objects within 7 object streams
0 named destinations out of 1000 (max. 500000)
- 511 words of extra memory for PDF output out of 10000 (max. 10000000)
+ 521 words of extra memory for PDF output out of 10000 (max. 10000000)
diff --git a/floss-arduino.lot b/floss-arduino.lot
index 65a2d2e..f4ed858 100644
--- a/floss-arduino.lot
+++ b/floss-arduino.lot
@@ -13,28 +13,28 @@
\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{90}%
\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{91}%
\addvspace {10\p@ }
-\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{106}%
-\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{108}%
-\addvspace {10\p@ }
-\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{121}%
-\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{121}%
-\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{125}%
-\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{126}%
-\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{128}%
-\addvspace {10\p@ }
-\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{143}%
-\addvspace {10\p@ }
-\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{157}%
-\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{159}%
-\addvspace {10\p@ }
-\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{168}%
-\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{174}%
-\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{176}%
-\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{177}%
-\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{178}%
-\addvspace {10\p@ }
-\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{194}%
-\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{194}%
-\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{195}%
-\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{195}%
-\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{204}%
+\contentsline {table}{\numberline {6.1}{\ignorespaces Xcos parameters to read LDR\relax }}{107}%
+\contentsline {table}{\numberline {6.2}{\ignorespaces Xcos parameters to read LDR and regulate blue LED\relax }}{109}%
+\addvspace {10\p@ }
+\contentsline {table}{\numberline {7.1}{\ignorespaces A numbering convention used in the DC motor breakout board\relax }}{123}%
+\contentsline {table}{\numberline {7.2}{\ignorespaces Parameters for DC motor initialization\relax }}{123}%
+\contentsline {table}{\numberline {7.3}{\ignorespaces Xcos parameters to drive the DC motor for a specified time\relax }}{127}%
+\contentsline {table}{\numberline {7.4}{\ignorespaces Xcos parameters to drive the DC motor in forward and reverse directions\relax }}{128}%
+\contentsline {table}{\numberline {7.5}{\ignorespaces Xcos parameters to drive the DC motor in a loop\relax }}{130}%
+\addvspace {10\p@ }
+\contentsline {table}{\numberline {8.1}{\ignorespaces Xcos parameters to turn on different LEDs depending on the potentiometer value\relax }}{146}%
+\addvspace {10\p@ }
+\contentsline {table}{\numberline {9.1}{\ignorespaces Xcos parameters to read thermistor\relax }}{161}%
+\contentsline {table}{\numberline {9.2}{\ignorespaces Xcos parameters to read thermistor and switch the buzzer\relax }}{163}%
+\addvspace {10\p@ }
+\contentsline {table}{\numberline {10.1}{\ignorespaces Connecting a typical servomotor to Arduino Uno\ board\relax }}{172}%
+\contentsline {table}{\numberline {10.2}{\ignorespaces Parameters to rotate the servomotor by $30^\circ $\relax }}{178}%
+\contentsline {table}{\numberline {10.3}{\ignorespaces Parameters to rotate the servomotor forward and reverse\relax }}{180}%
+\contentsline {table}{\numberline {10.4}{\ignorespaces Parameters to make the servomotor to sweep the entire range in increments\relax }}{181}%
+\contentsline {table}{\numberline {10.5}{\ignorespaces Parameters to rotate the servomotor based on the input from the potentiometer\relax }}{182}%
+\addvspace {10\p@ }
+\contentsline {table}{\numberline {11.1}{\ignorespaces Interpretation of a request packet\relax }}{198}%
+\contentsline {table}{\numberline {11.2}{\ignorespaces Interpretation of a response packet\relax }}{198}%
+\contentsline {table}{\numberline {11.3}{\ignorespaces Hexadecimal to Decimal\relax }}{199}%
+\contentsline {table}{\numberline {11.4}{\ignorespaces Single and Double Precision Representation\relax }}{199}%
+\contentsline {table}{\numberline {11.5}{\ignorespaces Xcos parameters to read Energy Meter\relax }}{208}%
diff --git a/floss-arduino.pdf b/floss-arduino.pdf
index c7cb59e..8613a97 100644
--- a/floss-arduino.pdf
+++ b/floss-arduino.pdf
Binary files differ
diff --git a/floss-arduino.pyd b/floss-arduino.pyd
index 17858cb..984796b 100644
--- a/floss-arduino.pyd
+++ b/floss-arduino.pyd
@@ -9,23 +9,23 @@
\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{92}%
\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{93}%
\addvspace {10pt}
-\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{109}%
-\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{110}%
+\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{110}%
+\contentsline {section}{\numberline {6.{2}}Turning the blue LED on and off}{111}%
\addvspace {10pt}
-\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{129}%
-\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{130}%
-\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{130}%
+\contentsline {section}{\numberline {7.{1}}Rotating the DC motor}{131}%
+\contentsline {section}{\numberline {7.{2}}Rotating the DC motor in both directions}{132}%
+\contentsline {section}{\numberline {7.{3}}Rotating the DC motor in both directions in a loop}{132}%
\addvspace {10pt}
-\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{144}%
+\contentsline {section}{\numberline {8.{1}}Turning on LEDs depending on the potentiometer threshold}{147}%
\addvspace {10pt}
-\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{160}%
-\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{161}%
+\contentsline {section}{\numberline {9.{1}}Read and display the thermistor values}{164}%
+\contentsline {section}{\numberline {9.{2}}Turning the buzzer on and off using thermistor values}{165}%
\addvspace {10pt}
-\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{179}%
-\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{180}%
-\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{181}%
-\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{182}%
+\contentsline {section}{\numberline {10.{1}}Rotating the servomotor to a specified degree}{183}%
+\contentsline {section}{\numberline {10.{2}}Rotating the servomotor to a specified degree and reversing}{184}%
+\contentsline {section}{\numberline {10.{3}}Rotating the servomotor in steps of $20^\circ $}{185}%
+\contentsline {section}{\numberline {10.{4}}Rotating the servomotor to a degree specified by the potentiometer}{186}%
\addvspace {10pt}
-\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{206}%
-\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{206}%
-\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{207}%
+\contentsline {section}{\numberline {11.{1}}Code for Single Phase Current Output}{210}%
+\contentsline {section}{\numberline {11.{2}}Code for Single Phase Voltage Output}{210}%
+\contentsline {section}{\numberline {11.{3}}Code for Single Phase Active Power Output}{211}%
diff --git a/floss-arduino.thm b/floss-arduino.thm
index 5751f80..d861dea 100644
--- a/floss-arduino.thm
+++ b/floss-arduino.thm
@@ -37,87 +37,87 @@
\contentsline {juliamass}{{Julia Code}{5.{2}}{}}{95}%
\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{1}}{}}{96}%
\contentsline {OpenModelicamass}{{OpenModelica Code}{5.{2}}{}}{97}%
-\contentsline {egmass}{{Exercise}{6.{1}}{}}{102}%
+\contentsline {egmass}{{Exercise}{6.{1}}{}}{103}%
\contentsline {ardmass}{{Arduino Code}{6.{1}}{}}{103}%
-\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{103}%
-\contentsline {egmass}{{Exercise}{6.{2}}{}}{104}%
-\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{104}%
-\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{105}%
+\contentsline {ardmass}{{Arduino Code}{6.{2}}{}}{104}%
+\contentsline {egmass}{{Exercise}{6.{2}}{}}{105}%
+\contentsline {codemass}{{Scilab Code}{6.{1}}{}}{105}%
+\contentsline {codemass}{{Scilab Code}{6.{2}}{}}{106}%
\contentsline {egmass}{{Exercise}{6.{3}}{}}{109}%
-\contentsline {pymass}{{Python Code}{6.{1}}{}}{109}%
-\contentsline {pymass}{{Python Code}{6.{2}}{}}{110}%
-\contentsline {egmass}{{Exercise}{6.{4}}{}}{111}%
-\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{112}%
-\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{112}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{113}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{114}%
-\contentsline {egmass}{{Exercise}{7.{1}}{}}{118}%
-\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{119}%
-\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{119}%
-\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{119}%
-\contentsline {egmass}{{Exercise}{7.{2}}{}}{122}%
-\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{123}%
-\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{123}%
-\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{123}%
-\contentsline {egmass}{{Exercise}{7.{3}}{}}{125}%
-\contentsline {pymass}{{Python Code}{7.{1}}{}}{129}%
-\contentsline {pymass}{{Python Code}{7.{2}}{}}{130}%
-\contentsline {pymass}{{Python Code}{7.{3}}{}}{130}%
-\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{132}%
-\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{133}%
-\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{133}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{134}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{134}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{135}%
-\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{139}%
-\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{141}%
-\contentsline {pymass}{{Python Code}{8.{1}}{}}{144}%
-\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{146}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{147}%
-\contentsline {egmass}{{Exercise}{9.{1}}{}}{152}%
-\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{152}%
-\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{153}%
-\contentsline {egmass}{{Exercise}{9.{2}}{}}{154}%
-\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{155}%
-\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{155}%
-\contentsline {pymass}{{Python Code}{9.{1}}{}}{160}%
-\contentsline {pymass}{{Python Code}{9.{2}}{}}{161}%
-\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{162}%
-\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{163}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{164}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{165}%
-\contentsline {egmass}{{Exercise}{10.{1}}{}}{169}%
-\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{169}%
-\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{170}%
-\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{170}%
-\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{171}%
-\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{172}%
-\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{172}%
-\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{173}%
-\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{173}%
-\contentsline {pymass}{{Python Code}{10.{1}}{}}{179}%
-\contentsline {pymass}{{Python Code}{10.{2}}{}}{180}%
-\contentsline {pymass}{{Python Code}{10.{3}}{}}{181}%
-\contentsline {pymass}{{Python Code}{10.{4}}{}}{182}%
-\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{184}%
-\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{184}%
-\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{185}%
-\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{185}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{186}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{187}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{188}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{188}%
-\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{203}%
-\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{205}%
-\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{205}%
-\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{205}%
-\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{206}%
-\contentsline {pymass}{{Python Code}{11.{1}}{}}{206}%
-\contentsline {pymass}{{Python Code}{11.{2}}{}}{206}%
-\contentsline {pymass}{{Python Code}{11.{3}}{}}{207}%
-\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{207}%
-\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{207}%
-\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{208}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{208}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{208}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{209}%
+\contentsline {pymass}{{Python Code}{6.{1}}{}}{110}%
+\contentsline {pymass}{{Python Code}{6.{2}}{}}{111}%
+\contentsline {egmass}{{Exercise}{6.{4}}{}}{112}%
+\contentsline {juliamass}{{Julia Code}{6.{1}}{}}{113}%
+\contentsline {juliamass}{{Julia Code}{6.{2}}{}}{113}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{1}}{}}{114}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{6.{2}}{}}{115}%
+\contentsline {egmass}{{Exercise}{7.{1}}{}}{120}%
+\contentsline {ardmass}{{Arduino Code}{7.{1}}{}}{121}%
+\contentsline {ardmass}{{Arduino Code}{7.{2}}{}}{121}%
+\contentsline {ardmass}{{Arduino Code}{7.{3}}{}}{121}%
+\contentsline {egmass}{{Exercise}{7.{2}}{}}{124}%
+\contentsline {codemass}{{Scilab Code}{7.{1}}{}}{125}%
+\contentsline {codemass}{{Scilab Code}{7.{2}}{}}{125}%
+\contentsline {codemass}{{Scilab Code}{7.{3}}{}}{125}%
+\contentsline {egmass}{{Exercise}{7.{3}}{}}{127}%
+\contentsline {pymass}{{Python Code}{7.{1}}{}}{131}%
+\contentsline {pymass}{{Python Code}{7.{2}}{}}{132}%
+\contentsline {pymass}{{Python Code}{7.{3}}{}}{132}%
+\contentsline {juliamass}{{Julia Code}{7.{1}}{}}{134}%
+\contentsline {juliamass}{{Julia Code}{7.{2}}{}}{135}%
+\contentsline {juliamass}{{Julia Code}{7.{3}}{}}{135}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{1}}{}}{136}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{2}}{}}{136}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{7.{3}}{}}{137}%
+\contentsline {ardmass}{{Arduino Code}{8.{1}}{}}{142}%
+\contentsline {codemass}{{Scilab Code}{8.{1}}{}}{144}%
+\contentsline {pymass}{{Python Code}{8.{1}}{}}{147}%
+\contentsline {juliamass}{{Julia Code}{8.{1}}{}}{149}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{8.{1}}{}}{150}%
+\contentsline {egmass}{{Exercise}{9.{1}}{}}{156}%
+\contentsline {ardmass}{{Arduino Code}{9.{1}}{}}{156}%
+\contentsline {ardmass}{{Arduino Code}{9.{2}}{}}{157}%
+\contentsline {egmass}{{Exercise}{9.{2}}{}}{158}%
+\contentsline {codemass}{{Scilab Code}{9.{1}}{}}{159}%
+\contentsline {codemass}{{Scilab Code}{9.{2}}{}}{159}%
+\contentsline {pymass}{{Python Code}{9.{1}}{}}{164}%
+\contentsline {pymass}{{Python Code}{9.{2}}{}}{165}%
+\contentsline {juliamass}{{Julia Code}{9.{1}}{}}{166}%
+\contentsline {juliamass}{{Julia Code}{9.{2}}{}}{167}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{1}}{}}{168}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{9.{2}}{}}{169}%
+\contentsline {egmass}{{Exercise}{10.{1}}{}}{173}%
+\contentsline {ardmass}{{Arduino Code}{10.{1}}{}}{173}%
+\contentsline {ardmass}{{Arduino Code}{10.{2}}{}}{174}%
+\contentsline {ardmass}{{Arduino Code}{10.{3}}{}}{174}%
+\contentsline {ardmass}{{Arduino Code}{10.{4}}{}}{175}%
+\contentsline {codemass}{{Scilab Code}{10.{1}}{}}{176}%
+\contentsline {codemass}{{Scilab Code}{10.{2}}{}}{176}%
+\contentsline {codemass}{{Scilab Code}{10.{3}}{}}{177}%
+\contentsline {codemass}{{Scilab Code}{10.{4}}{}}{177}%
+\contentsline {pymass}{{Python Code}{10.{1}}{}}{183}%
+\contentsline {pymass}{{Python Code}{10.{2}}{}}{184}%
+\contentsline {pymass}{{Python Code}{10.{3}}{}}{185}%
+\contentsline {pymass}{{Python Code}{10.{4}}{}}{186}%
+\contentsline {juliamass}{{Julia Code}{10.{1}}{}}{188}%
+\contentsline {juliamass}{{Julia Code}{10.{2}}{}}{188}%
+\contentsline {juliamass}{{Julia Code}{10.{3}}{}}{189}%
+\contentsline {juliamass}{{Julia Code}{10.{4}}{}}{189}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{1}}{}}{190}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{2}}{}}{191}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{3}}{}}{192}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{10.{4}}{}}{192}%
+\contentsline {ardmass}{{Arduino Code}{11.{1}}{}}{207}%
+\contentsline {codemass}{{Scilab Code}{11.{1}}{}}{209}%
+\contentsline {codemass}{{Scilab Code}{11.{2}}{}}{209}%
+\contentsline {codemass}{{Scilab Code}{11.{3}}{}}{209}%
+\contentsline {codemass}{{Scilab Code}{11.{4}}{}}{210}%
+\contentsline {pymass}{{Python Code}{11.{1}}{}}{210}%
+\contentsline {pymass}{{Python Code}{11.{2}}{}}{210}%
+\contentsline {pymass}{{Python Code}{11.{3}}{}}{211}%
+\contentsline {juliamass}{{Julia Code}{11.{1}}{}}{211}%
+\contentsline {juliamass}{{Julia Code}{11.{2}}{}}{211}%
+\contentsline {juliamass}{{Julia Code}{11.{3}}{}}{212}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{1}}{}}{212}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{2}}{}}{212}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{11.{3}}{}}{213}%
diff --git a/floss-arduino.toc b/floss-arduino.toc
index 0443f0e..c4da6b4 100644
--- a/floss-arduino.toc
+++ b/floss-arduino.toc
@@ -96,109 +96,110 @@
\contentsline {chapter}{\numberline {6}Interfacing a Light Dependent Resistor}{99}%
\contentsline {section}{\numberline {6.1}Preliminaries}{99}%
\contentsline {section}{\numberline {6.2}Connecting an LDR with Arduino Uno\ using a breadboard}{101}%
-\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{101}%
-\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{101}%
+\contentsline {section}{\numberline {6.3}Interfacing the LDR through the Arduino IDE}{102}%
+\contentsline {subsection}{\numberline {6.3.1}Interfacing the LDR}{102}%
\contentsline {subsection}{\numberline {6.3.2}Arduino Code}{103}%
-\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{103}%
-\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{103}%
-\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{104}%
-\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{105}%
-\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{107}%
-\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{107}%
-\contentsline {subsection}{\numberline {6.6.2}Python Code}{109}%
-\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{111}%
-\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{111}%
-\contentsline {subsection}{\numberline {6.7.2}Julia Code}{112}%
-\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{112}%
-\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{112}%
-\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{113}%
-\contentsline {chapter}{\numberline {7}Controlling a DC motor}{115}%
-\contentsline {section}{\numberline {7.1}Preliminaries}{115}%
-\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{117}%
-\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{117}%
-\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{119}%
-\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{120}%
-\contentsline {subsection}{\numberline {7.3.1}Initialization}{120}%
-\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{121}%
-\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{122}%
-\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{123}%
-\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{124}%
-\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{127}%
-\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{127}%
-\contentsline {subsection}{\numberline {7.5.2}Python Code}{129}%
-\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{132}%
-\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{132}%
-\contentsline {subsection}{\numberline {7.6.2}Julia Code}{132}%
-\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{133}%
-\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{133}%
-\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{134}%
-\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{137}%
-\contentsline {section}{\numberline {8.1}Preliminaries}{137}%
-\contentsline {section}{\numberline {8.2}Reading the potentiometer from the Arduino IDE}{138}%
-\contentsline {subsection}{\numberline {8.2.1}Reading the potentiometer}{138}%
-\contentsline {subsection}{\numberline {8.2.2}Arduino Code}{139}%
-\contentsline {section}{\numberline {8.3}Reading the potentiometer from Scilab}{140}%
-\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{140}%
-\contentsline {subsection}{\numberline {8.3.2}Scilab Code}{141}%
-\contentsline {section}{\numberline {8.4}Reading the potentiometer from Xcos}{141}%
-\contentsline {paragraph}{Exercise:}{142}%
-\contentsline {section}{\numberline {8.5}Reading the potentiometer from Python}{142}%
-\contentsline {subsection}{\numberline {8.5.1}Reading the potentiometer}{142}%
-\contentsline {subsection}{\numberline {8.5.2}Python Code}{144}%
-\contentsline {section}{\numberline {8.6}Reading the potentiometer from Julia}{145}%
+\contentsline {section}{\numberline {6.4}Interfacing the LDR through Scilab}{104}%
+\contentsline {subsection}{\numberline {6.4.1}Interfacing the LDR}{104}%
+\contentsline {subsection}{\numberline {6.4.2}Scilab Code}{105}%
+\contentsline {section}{\numberline {6.5}Interfacing the LDR through Xcos}{106}%
+\contentsline {section}{\numberline {6.6}Interfacing the LDR through Python}{108}%
+\contentsline {subsection}{\numberline {6.6.1}Interfacing the LDR}{108}%
+\contentsline {subsection}{\numberline {6.6.2}Python Code}{110}%
+\contentsline {section}{\numberline {6.7}Interfacing the LDR through Julia}{112}%
+\contentsline {subsection}{\numberline {6.7.1}Interfacing the LDR}{112}%
+\contentsline {subsection}{\numberline {6.7.2}Julia Code}{113}%
+\contentsline {section}{\numberline {6.8}Interfacing the LDR through OpenModelica}{113}%
+\contentsline {subsection}{\numberline {6.8.1}Interfacing the LDR}{113}%
+\contentsline {subsection}{\numberline {6.8.2}OpenModelica Code}{114}%
+\contentsline {chapter}{\numberline {7}Controlling a DC motor}{117}%
+\contentsline {section}{\numberline {7.1}Preliminaries}{117}%
+\contentsline {section}{\numberline {7.2}Controlling the DC motor from Arduino}{119}%
+\contentsline {subsection}{\numberline {7.2.1}Controlling the DC motor}{119}%
+\contentsline {subsection}{\numberline {7.2.2}Arduino Code}{121}%
+\contentsline {section}{\numberline {7.3}Controlling the DC motor from Scilab}{122}%
+\contentsline {subsection}{\numberline {7.3.1}Initialization}{122}%
+\contentsline {subsection}{\numberline {7.3.2}Rotation for a specified time}{123}%
+\contentsline {subsection}{\numberline {7.3.3}Using the capabilities of Scilab}{124}%
+\contentsline {subsection}{\numberline {7.3.4}Scilab Code}{125}%
+\contentsline {section}{\numberline {7.4}Controlling the DC Motor from Xcos}{126}%
+\contentsline {section}{\numberline {7.5}Controlling the DC Motor from Python}{129}%
+\contentsline {subsection}{\numberline {7.5.1}Controlling the DC Motor}{129}%
+\contentsline {subsection}{\numberline {7.5.2}Python Code}{131}%
+\contentsline {section}{\numberline {7.6}Controlling the DC Motor from Julia}{134}%
+\contentsline {subsection}{\numberline {7.6.1}Controlling the DC Motor}{134}%
+\contentsline {subsection}{\numberline {7.6.2}Julia Code}{134}%
+\contentsline {section}{\numberline {7.7}Controlling the DC Motor from OpenModelica}{135}%
+\contentsline {subsection}{\numberline {7.7.1}Controlling the DC Motor}{135}%
+\contentsline {subsection}{\numberline {7.7.2}OpenModelica Code}{136}%
+\contentsline {chapter}{\numberline {8}Interfacing a Potentiometer}{139}%
+\contentsline {section}{\numberline {8.1}Preliminaries}{139}%
+\contentsline {section}{\numberline {8.2}Connecting a potentiometer with Arduino Uno\ using a breadboard}{140}%
+\contentsline {section}{\numberline {8.3}Reading the potentiometer from the Arduino IDE}{141}%
+\contentsline {subsection}{\numberline {8.3.1}Reading the potentiometer}{141}%
+\contentsline {subsection}{\numberline {8.3.2}Arduino Code}{142}%
+\contentsline {section}{\numberline {8.4}Reading the potentiometer from Scilab}{143}%
+\contentsline {subsection}{\numberline {8.4.1}Reading the potentiometer}{143}%
+\contentsline {subsection}{\numberline {8.4.2}Scilab Code}{144}%
+\contentsline {section}{\numberline {8.5}Reading the potentiometer from Xcos}{144}%
+\contentsline {paragraph}{Exercise:}{145}%
+\contentsline {section}{\numberline {8.6}Reading the potentiometer from Python}{145}%
\contentsline {subsection}{\numberline {8.6.1}Reading the potentiometer}{145}%
-\contentsline {subsection}{\numberline {8.6.2}Julia Code}{146}%
-\contentsline {section}{\numberline {8.7}Reading the potentiometer from OpenModelica}{146}%
-\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{146}%
-\contentsline {subsection}{\numberline {8.7.2}OpenModelica Code}{147}%
-\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{149}%
-\contentsline {section}{\numberline {9.1}Preliminaries}{149}%
-\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{150}%
-\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{151}%
-\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{151}%
-\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{152}%
-\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{154}%
-\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{154}%
-\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{155}%
-\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{156}%
-\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{158}%
-\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{158}%
-\contentsline {subsection}{\numberline {9.6.2}Python Code}{160}%
-\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{162}%
-\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{162}%
-\contentsline {subsection}{\numberline {9.7.2}Julia Code}{162}%
-\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{163}%
-\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{163}%
-\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{164}%
-\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{167}%
-\contentsline {section}{\numberline {10.1}Preliminaries}{167}%
-\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{168}%
-\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{168}%
-\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{169}%
-\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{171}%
-\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{171}%
-\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{172}%
-\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{173}%
-\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{178}%
-\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{178}%
-\contentsline {subsection}{\numberline {10.5.2}Python Code}{179}%
-\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{183}%
-\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{183}%
-\contentsline {subsection}{\numberline {10.6.2}Julia Code}{184}%
-\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{185}%
-\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{185}%
-\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{186}%
-\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{191}%
-\contentsline {section}{\numberline {11.1}Preliminaries}{191}%
-\contentsline {section}{\numberline {11.2}Objective}{196}%
-\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{196}%
-\contentsline {section}{\numberline {11.4}Software}{197}%
-\contentsline {section}{\numberline {11.5}Output}{198}%
-\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{200}%
-\contentsline {section}{\numberline {11.7}Code}{203}%
-\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{203}%
-\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{205}%
-\contentsline {subsection}{\numberline {11.7.3}Python Code}{206}%
-\contentsline {subsection}{\numberline {11.7.4}Julia Code}{207}%
-\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{208}%
-\contentsline {chapter}{\numberline {References}}{211}%
+\contentsline {subsection}{\numberline {8.6.2}Python Code}{147}%
+\contentsline {section}{\numberline {8.7}Reading the potentiometer from Julia}{148}%
+\contentsline {subsection}{\numberline {8.7.1}Reading the potentiometer}{148}%
+\contentsline {subsection}{\numberline {8.7.2}Julia Code}{149}%
+\contentsline {section}{\numberline {8.8}Reading the potentiometer from OpenModelica}{149}%
+\contentsline {subsection}{\numberline {8.8.1}Reading the potentiometer}{149}%
+\contentsline {subsection}{\numberline {8.8.2}OpenModelica Code}{150}%
+\contentsline {chapter}{\numberline {9}Interfacing a Thermistor}{153}%
+\contentsline {section}{\numberline {9.1}Preliminaries}{153}%
+\contentsline {section}{\numberline {9.2}Connecting a thermistor with Arduino Uno\ using a breadboard}{154}%
+\contentsline {section}{\numberline {9.3}Interfacing the Thermistor from the Arduino IDE}{155}%
+\contentsline {subsection}{\numberline {9.3.1}Interfacing the Thermistor}{155}%
+\contentsline {subsection}{\numberline {9.3.2}Arduino Code}{156}%
+\contentsline {section}{\numberline {9.4}Interfacing the Thermistor from Scilab}{158}%
+\contentsline {subsection}{\numberline {9.4.1}Interfacing the Thermistor}{158}%
+\contentsline {subsection}{\numberline {9.4.2}Scilab Code}{159}%
+\contentsline {section}{\numberline {9.5}Interfacing the Thermistor from Xcos}{160}%
+\contentsline {section}{\numberline {9.6}Interfacing the Thermistor from Python}{162}%
+\contentsline {subsection}{\numberline {9.6.1}Interfacing the Thermistor}{162}%
+\contentsline {subsection}{\numberline {9.6.2}Python Code}{164}%
+\contentsline {section}{\numberline {9.7}Interfacing the Thermistor from Julia}{166}%
+\contentsline {subsection}{\numberline {9.7.1}Interfacing the Thermistor}{166}%
+\contentsline {subsection}{\numberline {9.7.2}Julia Code}{166}%
+\contentsline {section}{\numberline {9.8}Interfacing the Thermistor from OpenModelica}{167}%
+\contentsline {subsection}{\numberline {9.8.1}Interfacing the Thermistor}{167}%
+\contentsline {subsection}{\numberline {9.8.2}OpenModelica Code}{168}%
+\contentsline {chapter}{\numberline {10}Interfacing a Servomotor}{171}%
+\contentsline {section}{\numberline {10.1}Preliminaries}{171}%
+\contentsline {section}{\numberline {10.2}Controlling the Servometer through the Arduino IDE}{172}%
+\contentsline {subsection}{\numberline {10.2.1}Controlling the Servometer}{172}%
+\contentsline {subsection}{\numberline {10.2.2}Arduino Code}{173}%
+\contentsline {section}{\numberline {10.3}Controlling the Servomotor through Scilab}{175}%
+\contentsline {subsection}{\numberline {10.3.1}Controlling the Servomotor}{175}%
+\contentsline {subsection}{\numberline {10.3.2}Scilab Code}{176}%
+\contentsline {section}{\numberline {10.4}Controling the Servomotor through Xcos}{177}%
+\contentsline {section}{\numberline {10.5}Controlling the Servomotor through Python}{182}%
+\contentsline {subsection}{\numberline {10.5.1}Controlling the Servomotor}{182}%
+\contentsline {subsection}{\numberline {10.5.2}Python Code}{183}%
+\contentsline {section}{\numberline {10.6}Controlling the Servomotor through Julia}{187}%
+\contentsline {subsection}{\numberline {10.6.1}Controlling the Servomotor}{187}%
+\contentsline {subsection}{\numberline {10.6.2}Julia Code}{188}%
+\contentsline {section}{\numberline {10.7}Controlling the Servomotor through OpenModelica}{189}%
+\contentsline {subsection}{\numberline {10.7.1}Controlling the Servomotor}{189}%
+\contentsline {subsection}{\numberline {10.7.2}OpenModelica Code}{190}%
+\contentsline {chapter}{\numberline {11}Implementation of Modbus Protocol}{195}%
+\contentsline {section}{\numberline {11.1}Preliminaries}{195}%
+\contentsline {section}{\numberline {11.2}Objective}{200}%
+\contentsline {section}{\numberline {11.3}Energy Meter set up for Modbus protocol with Arduino Uno}{200}%
+\contentsline {section}{\numberline {11.4}Software}{201}%
+\contentsline {section}{\numberline {11.5}Output}{202}%
+\contentsline {section}{\numberline {11.6}Reading Parameters from Xcos}{204}%
+\contentsline {section}{\numberline {11.7}Code}{207}%
+\contentsline {subsection}{\numberline {11.7.1}Arduino Code}{207}%
+\contentsline {subsection}{\numberline {11.7.2}Scilab Code}{209}%
+\contentsline {subsection}{\numberline {11.7.3}Python Code}{210}%
+\contentsline {subsection}{\numberline {11.7.4}Julia Code}{211}%
+\contentsline {subsection}{\numberline {11.7.5}OpenModelica Code}{212}%
+\contentsline {chapter}{\numberline {References}}{215}%
diff --git a/indent.log b/indent.log
deleted file mode 100644
index fde8040..0000000
--- a/indent.log
+++ /dev/null
@@ -1,25 +0,0 @@
-INFO: latexindent version 3.7.1, 2019-09-07, a script to indent .tex files
- latexindent lives here: /usr/share/texlive/texmf-dist/scripts/latexindent/
- Thu Apr 8 17:37:04 2021
- Filename: /home/fossee/Desktop/floss-scilab-arduino/user-code/push/__latexindent_temp.tex
-INFO: Processing switches:
- -y|--yaml: YAML settings specified via command line
- -c|--cruft: cruft directory
-INFO: Directory for backup files and /home/fossee/Desktop/floss-scilab-arduino/indent.log: /home/fossee/Desktop/floss-scilab-arduino/
-INFO: YAML settings read: defaultSettings.yaml
- Reading defaultSettings.yaml from /usr/share/texlive/texmf-dist/scripts/latexindent/defaultSettings.yaml
-INFO: YAML settings read: indentconfig.yaml or .indentconfig.yaml
- Home directory is /home/fossee (didn't find either indentconfig.yaml or .indentconfig.yaml)
- To specify user settings you would put indentconfig.yaml here: /home/fossee/indentconfig.yaml
- Alternatively, you can use the hidden file .indentconfig.yaml as: /home/fossee/.indentconfig.yaml
-INFO: YAML settings read: -y switch
- Updating masterSettings with defaultIndent:
-INFO: Phase 1: searching for objects
-INFO: Phase 2: finding surrounding indentation
-INFO: Phase 3: indenting objects
-INFO: Phase 4: final indentation check
-INFO: Output routine:
- Not outputting to file; see -w and -o switches for more options.
- --------------
-INFO: Please direct all communication/issues to:
- https://github.com/cmhughes/latexindent.pl
diff --git a/user-code/ldr/figures/LDR-led.png b/user-code/ldr/figures/LDR-led.png
new file mode 100644
index 0000000..a9ea18c
--- /dev/null
+++ b/user-code/ldr/figures/LDR-led.png
Binary files differ
diff --git a/user-code/ldr/figures/LDR.png b/user-code/ldr/figures/LDR.png
new file mode 100644
index 0000000..65b403d
--- /dev/null
+++ b/user-code/ldr/figures/LDR.png
Binary files differ
diff --git a/user-code/ldr/figures/ard-ldr.png b/user-code/ldr/figures/ard-ldr.png
deleted file mode 100644
index 92cf083..0000000
--- a/user-code/ldr/figures/ard-ldr.png
+++ /dev/null
Binary files differ
diff --git a/user-code/ldr/ldr.tex b/user-code/ldr/ldr.tex
index 15c0fd4..2751d3c 100644
--- a/user-code/ldr/ldr.tex
+++ b/user-code/ldr/ldr.tex
@@ -88,20 +88,47 @@ N5AC501A085 and NSL19M51 from ADVANCED PHOTONIX.
This section is useful for those who either don't have a shield or don't want to use the shield
for performing the experiments given in this chapter. 
-In case, you have an LDR and you want to try connecting it with \arduino\ on a breadboard, you should
-refer to the figure \ref{fig:ard-ldr-bread}. The connections given in this
-figure can be used to read the voltage values from an LDR. To know more about the
-breadboard and other electronic components, one should watch the Spoken Tutorials on Arduino as published on
- {\tt https://spoken-tutorial.org/}.
+A breadboard is a device for holding the components of a circuit and connecting
+them together. We can build an electronic circuit on a breadboard without doing any
+soldering. To know more about the breadboard and other electronic components,
+one should watch the Spoken Tutorials on Arduino as published on
+{\tt https://spoken-tutorial.org/}. Ideally, one should go through all the
+tutorials labeled as Basic. However, we strongly recommend the readers should
+watch the fifth and sixth tutorials, i.e., First Arduino Program and
+Arduino with Tricolor LED and Push button.
\begin{figure}
\centering
- \includegraphics[width=\textwidth]{\LocLDRfig/ard-ldr.png}
- \caption{Interfacing an LDR with Arduino Uno using a breadboard}
+ \includegraphics[width=\textwidth]{\LocLDRfig/LDR.png}
+ \caption{An LDR to read its values with Arduino Uno using a breadboard}
%\redcolor{connected on pin no. D12}}
- \label{fig:ard-ldr-bread}
+ \label{fig:ard-ldr}
\end{figure}
+In case you have an LDR, and you want to connect it with \arduino\ on a breadboard,
+please refer to \figref{fig:ard-ldr}. The connections given in this figure can be
+used to read the voltage values from an LDR connected to the analog pin 5 on
+\arduino\ board. As shown in \figref{fig:ard-ldr}, one leg of the LDR is connected
+to 5V on \arduino\ and the other leg to the analog pin 5 on  \arduino. A resistor is also connected to the same leg and grounded.
+From \figref{fig:ldrconn} and \figref{fig:ard-ldr}, one can infer that a resistor
+along with the LDR is used to create a voltage divider circuit. The varying
+resistance of the LDR is converted to a varying voltage. Finally, this voltage is used
+by the analog pin 5 of \arduino\ in its logic.
+
+The connections shown in \figref{fig:ard-ldr-led} can be used to control an RGB LED,
+depending on the voltage values from the LDR. As shown in \figref{fig:ard-ldr-led},
+digital pin 11 on \arduino\ is connected to the leftmost leg of the RGB LED. Rest connections
+are same as that in \figref{fig:ard-ldr}.
+
+\begin{figure}
+ \centering
+ \includegraphics[width=\textwidth]{\LocLDRfig/LDR-led.png}
+ \caption{An LDR to control an LED with Arduino Uno using a breadboard}
+ %\redcolor{connected on pin no. D12}}
+ \label{fig:ard-ldr-led}
+\end{figure}
+
+
\section{Interfacing the LDR through the Arduino IDE}
\subsection{Interfacing the LDR}
In this section, we shall learn to read the voltage values from an LDR
diff --git a/user-code/pot/figures/POT-led.png b/user-code/pot/figures/POT-led.png
new file mode 100644
index 0000000..068b5c1
--- /dev/null
+++ b/user-code/pot/figures/POT-led.png
Binary files differ
diff --git a/user-code/pot/pot.tex b/user-code/pot/pot.tex
index 35c157d..aaa182f 100644
--- a/user-code/pot/pot.tex
+++ b/user-code/pot/pot.tex
@@ -92,6 +92,32 @@ digital I/O pins 9,10 and 11 of Arduino. In order to switch on a
particular LED, we need to provide HIGH(5V) voltage to the
corresponding pin of the \arduino\ board.
+\section{Connecting a potentiometer with \arduino\ using a breadboard}
+This section is useful for those who either don't have a shield or don't want to use the shield
+for performing the experiments given in this chapter. 
+
+To know more about a pushbutton, one should watch the Spoken Tutorials on Arduino as published on
+{\tt https://spoken-tutorial.org/}. Ideally, one should go through all the
+tutorials labeled as Basic. However, we strongly recommend the readers should
+watch the fifth and sixth tutorials, i.e., First Arduino Program and
+Arduino with Tricolor LED and Push button.
+
+In case you have a potentiometer, and you want to connect it with \arduino\ on a breadboard,
+please refer to \figref{fig:pot-led}. The connections given in this figure
+can be used to control an RGB LED read the status of a pushbutton.
+\begin{figure}
+  \centering
+  \includegraphics[width=\textwidth]{\LocPotfig/POT-led.png}
+  \caption{A potentiometer to control an LED with Arduino Uno using a breadboard}
+  %\redcolor{connected on pin no. D12}}
+  \label{fig:pot-led}
+\end{figure}
+As shown in \figref{fig:pot-led}, there are three legs of the potentiometer connected to
+5V, analog pin 2, and GND on \arduino. Depending upon how much the potentiometer's shaft is rotated, one can get a value on analog pin 2. On the other hand,
+there is an RGB LED, and its four legs are connected to three different digital pins and GND on \arduino\, as discussed in
+\chapref{led}. 
+
+
\section{Reading the potentiometer from the Arduino IDE}
\subsection{Reading the potentiometer}