summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudhakarKuma2021-04-30 00:57:32 +0530
committerSudhakarKuma2021-04-30 00:57:32 +0530
commit274b5e966c1fb0863d60e863055d094deabda0c3 (patch)
treef852d4151a6729f5ae5b6929f6023e036db13485
parent70ca6570776d1a75010fce27815d5a762ba2ef34 (diff)
downloadFLOSS-Arduino-Book-274b5e966c1fb0863d60e863055d094deabda0c3.tar.gz
FLOSS-Arduino-Book-274b5e966c1fb0863d60e863055d094deabda0c3.tar.bz2
FLOSS-Arduino-Book-274b5e966c1fb0863d60e863055d094deabda0c3.zip
Update Xcos com2 images
-rw-r--r--floss-arduino.OpenModelicad4
-rw-r--r--floss-arduino.aux88
-rw-r--r--floss-arduino.cod2
-rw-r--r--floss-arduino.fdb_latexmk68
-rw-r--r--floss-arduino.fls24
-rw-r--r--floss-arduino.juliad2
-rw-r--r--floss-arduino.log107
-rw-r--r--floss-arduino.lot4
-rw-r--r--floss-arduino.pdfbin20549730 -> 20895255 bytes
-rw-r--r--floss-arduino.pyd4
-rw-r--r--floss-arduino.thm10
-rw-r--r--floss-arduino.toc10
-rw-r--r--user-code/led/figures/led-blue-com-2.pngbin0 -> 118844 bytes
-rw-r--r--user-code/led/figures/led-blue-delay-com-2.pngbin0 -> 131759 bytes
-rw-r--r--user-code/led/figures/led-blue-red-com-2.pngbin0 -> 139836 bytes
-rw-r--r--user-code/led/figures/led-green-blink-com-2.pngbin0 -> 145226 bytes
-rw-r--r--user-code/led/led.tex18
-rw-r--r--user-code/sw-env/figures/browse-directory-1.pngbin0 -> 82537 bytes
-rw-r--r--user-code/sw-env/sw-env.tex4
19 files changed, 171 insertions, 174 deletions
diff --git a/floss-arduino.OpenModelicad b/floss-arduino.OpenModelicad
index 4c6f63f..5f04f4c 100644
--- a/floss-arduino.OpenModelicad
+++ b/floss-arduino.OpenModelicad
@@ -1,9 +1,9 @@
\contentsline {section}{\numberline {3.{1}}An OpenModelica code to check whether the firmware is properly installed or not}{65}%
\addvspace {10pt}
-\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{91}%
+\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{90}%
\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{91}%
\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{92}%
-\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{93}%
+\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{92}%
\addvspace {10pt}
\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and displaying on the serial monitor}{108}%
\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{109}%
diff --git a/floss-arduino.aux b/floss-arduino.aux
index 246da45..44d2604 100644
--- a/floss-arduino.aux
+++ b/floss-arduino.aux
@@ -128,7 +128,7 @@
\newlabel{scilab-installation-windows}{{3.2.1}{26}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}Downloading and installing on GNU/Linux Ubuntu}{27}\protected@file@percent }
\newlabel{scilab-installation-linux}{{3.2.2}{27}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Scilab Arduino toolbox}{27}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Scilab-Arduino toolbox}{27}\protected@file@percent }
\newlabel{9@xvr}{{}{27}}
\newlabel{9@vr}{{}{27}}
\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces Linux terminal to launch Scilab\relax }}{28}\protected@file@percent }
@@ -365,7 +365,7 @@
\newlabel{sec:led-scilab-code}{{4.4.2}{75}}
\@writefile{cod}{\addvspace {10pt}}
\@writefile{thm}{\contentsline {codemass}{{Scilab Code}{4.{1}}{}}{75}\protected@file@percent }
-\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{75}\protected@file@percent }
+\@writefile{cod}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{75}\protected@file@percent }
\newlabel{21@xvr}{{}{75}}
\newlabel{21@vr}{{}{75}}
\newlabel{sci:led-blue}{{4.{1}}{75}}
@@ -410,53 +410,53 @@
\newlabel{32@xvr}{{}{79}}
\newlabel{32@vr}{{}{79}}
\newlabel{fig:led-blue-red}{{4.8}{79}}
+\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{79}\protected@file@percent }
+\newlabel{tab:led-blue-red}{{4.3}{79}}
+\newlabel{33@xvr}{{}{79}}
+\newlabel{33@vr}{{}{79}}
\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{3}}{}}{79}\protected@file@percent }
-\@writefile{lot}{\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{80}\protected@file@percent }
-\newlabel{tab:led-blue-red}{{4.3}{80}}
-\newlabel{33@xvr}{{}{80}}
-\newlabel{33@vr}{{}{80}}
\@writefile{lof}{\contentsline {figure}{\numberline {4.9}{\ignorespaces Blinking the green LED every second through Xcos}}{80}\protected@file@percent }
\newlabel{35@xvr}{{}{80}}
\newlabel{35@vr}{{}{80}}
\newlabel{fig:led-green-blink}{{4.9}{80}}
-\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{80}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{80}\protected@file@percent }
-\newlabel{sec:light-py}{{4.6.1}{80}}
+\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{80}\protected@file@percent }
+\newlabel{tab:led-green-blink}{{4.4}{80}}
+\newlabel{36@xvr}{{}{80}}
+\newlabel{36@vr}{{}{80}}
\citation{pySerial}
-\@writefile{lot}{\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{81}\protected@file@percent }
-\newlabel{tab:led-green-blink}{{4.4}{81}}
-\newlabel{36@xvr}{{}{81}}
-\newlabel{36@vr}{{}{81}}
+\@writefile{toc}{\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{81}\protected@file@percent }
+\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{81}\protected@file@percent }
+\newlabel{sec:light-py}{{4.6.1}{81}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{81}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{81}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{81}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{81}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{82}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{82}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{82}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{82}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{82}\protected@file@percent }
-\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{4}}{}}{83}\protected@file@percent }
+\@writefile{thm}{\contentsline {egmass}{{Exercise}{4.{4}}{}}{82}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.2}Python Code}{83}\protected@file@percent }
\newlabel{sec:led-python-code}{{4.6.2}{83}}
\@writefile{pyd}{\addvspace {10pt}}
\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{1}}{}}{83}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED through Python}{83}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{83}\protected@file@percent }
\newlabel{37@xvr}{{}{83}}
\newlabel{37@vr}{{}{83}}
\newlabel{py:led-blue}{{4.{1}}{83}}
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue.py}{83}\protected@file@percent }
-\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{84}\protected@file@percent }
-\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{84}\protected@file@percent }
-\newlabel{38@xvr}{{}{84}}
-\newlabel{38@vr}{{}{84}}
-\newlabel{py:led-blue-delay}{{4.{2}}{84}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{84}\protected@file@percent }
+\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{2}}{}}{83}\protected@file@percent }
+\@writefile{pyd}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{83}\protected@file@percent }
+\newlabel{38@xvr}{{}{83}}
+\newlabel{38@vr}{{}{83}}
+\newlabel{py:led-blue-delay}{{4.{2}}{83}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash delay.py}{83}\protected@file@percent }
\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{3}}{}}{84}\protected@file@percent }
\@writefile{pyd}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{84}\protected@file@percent }
\newlabel{39@xvr}{{}{84}}
\newlabel{39@vr}{{}{84}}
\newlabel{py:led-blue-red}{{4.{3}}{84}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{85}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led\textendash blue\textendash red.py}{84}\protected@file@percent }
\@writefile{thm}{\contentsline {pymass}{{Python Code}{4.{4}}{}}{85}\protected@file@percent }
\@writefile{pyd}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{85}\protected@file@percent }
\newlabel{40@xvr}{{}{85}}
@@ -467,21 +467,21 @@
\@writefile{toc}{\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{86}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{86}\protected@file@percent }
\newlabel{sec:light-julia}{{4.7.1}{86}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{86}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{86}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{87}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue\textendash delay.jl}{87}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{88}\protected@file@percent }
-\newlabel{sec:led-julia-code}{{4.7.2}{88}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.2}Julia Code}{87}\protected@file@percent }
+\newlabel{sec:led-julia-code}{{4.7.2}{87}}
\@writefile{juliad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{88}\protected@file@percent }
-\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the LED}{88}\protected@file@percent }
-\newlabel{41@xvr}{{}{88}}
-\newlabel{41@vr}{{}{88}}
-\newlabel{julia:led-blue}{{4.{1}}{88}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{88}\protected@file@percent }
+\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{87}\protected@file@percent }
+\@writefile{juliad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{87}\protected@file@percent }
+\newlabel{41@xvr}{{}{87}}
+\newlabel{41@vr}{{}{87}}
+\newlabel{julia:led-blue}{{4.{1}}{87}}
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash blue.jl}{87}\protected@file@percent }
\@writefile{thm}{\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{88}\protected@file@percent }
\@writefile{juliad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{88}\protected@file@percent }
\newlabel{42@xvr}{{}{88}}
@@ -499,34 +499,34 @@
\newlabel{44@xvr}{{}{88}}
\newlabel{44@vr}{{}{88}}
\newlabel{julia:led-green-blink}{{4.{4}}{88}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{89}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led\textendash green\textendash blink.jl}{88}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{89}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{89}\protected@file@percent }
\newlabel{sec:light-OpenModelica}{{4.8.1}{89}}
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{89}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{89}\protected@file@percent }
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{90}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{89}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{90}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{90}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{90}\protected@file@percent }
-\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{91}\protected@file@percent }
-\newlabel{sec:led-OpenModelica-code}{{4.8.2}{91}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{90}\protected@file@percent }
+\newlabel{sec:led-OpenModelica-code}{{4.8.2}{90}}
\@writefile{OpenModelicad}{\addvspace {10pt}}
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{91}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{91}\protected@file@percent }
-\newlabel{OpenModelica:led-blue}{{4.{1}}{91}}
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{90}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{90}\protected@file@percent }
+\newlabel{OpenModelica:led-blue}{{4.{1}}{90}}
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue.mo}{91}\protected@file@percent }
\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{91}\protected@file@percent }
\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{91}\protected@file@percent }
\newlabel{OpenModelica:led-blue-delay}{{4.{2}}{91}}
-\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{92}\protected@file@percent }
+\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash delay.mo}{91}\protected@file@percent }
\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{92}\protected@file@percent }
\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{92}\protected@file@percent }
\newlabel{OpenModelica:led-blue-red}{{4.{3}}{92}}
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash blue\textendash red.mo}{92}\protected@file@percent }
-\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{93}\protected@file@percent }
-\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{93}\protected@file@percent }
-\newlabel{OpenModelica:led-green-blink}{{4.{4}}{93}}
+\@writefile{thm}{\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{92}\protected@file@percent }
+\@writefile{OpenModelicad}{\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{92}\protected@file@percent }
+\newlabel{OpenModelica:led-green-blink}{{4.{4}}{92}}
\@writefile{lol}{\contentsline {lstlisting}{/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led\textendash green\textendash blink.mo}{93}\protected@file@percent }
\@writefile{toc}{\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{95}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
diff --git a/floss-arduino.cod b/floss-arduino.cod
index 25879db..e945a6e 100644
--- a/floss-arduino.cod
+++ b/floss-arduino.cod
@@ -3,7 +3,7 @@
\addvspace {10pt}
\addvspace {10pt}
\addvspace {10pt}
-\contentsline {section}{\numberline {4.{1}}Turning on the LED through Scilab}{75}%
+\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{75}%
\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{75}%
\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{76}%
\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{76}%
diff --git a/floss-arduino.fdb_latexmk b/floss-arduino.fdb_latexmk
index 75cd83a..1d77173 100644
--- a/floss-arduino.fdb_latexmk
+++ b/floss-arduino.fdb_latexmk
@@ -1,19 +1,19 @@
# Fdb version 3
-["bibtex floss-arduino"] 1619709017 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1619709280
+["bibtex floss-arduino"] 1619724076 "floss-arduino.aux" "floss-arduino.bbl" "floss-arduino" 1619724134
"/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst" 1292289607 18030 1376b4b231b50c66211e47e42eda2875 ""
"bibliography.bib" 1619058609 4121 e0d02327e4bb995867623cd1f708046e ""
- "floss-arduino.aux" 1619709138 133293 056f811e20f4757c99b4d671a8dc02ad "pdflatex"
+ "floss-arduino.aux" 1619724085 133273 0f8f27d0b63c7d1b48a38f425181a943 "pdflatex"
(generated)
"floss-arduino.blg"
"floss-arduino.bbl"
-["makeindex floss-arduino.idx"] 1619681217 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1619709280
- "floss-arduino.idx" 1619709138 187 9374babcab6e650ef029e1d90c8aca3a "pdflatex"
+["makeindex floss-arduino.idx"] 1619723749 "floss-arduino.idx" "floss-arduino.ind" "floss-arduino" 1619724134
+ "floss-arduino.idx" 1619724085 187 9374babcab6e650ef029e1d90c8aca3a "pdflatex"
(generated)
- "floss-arduino.ilg"
"floss-arduino.ind"
-["pdflatex"] 1619709130 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1619709280
+ "floss-arduino.ilg"
+["pdflatex"] 1619724076 "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf" "floss-arduino" 1619724134
"/etc/texmf/web2c/texmf.cnf" 1602253014 475 c0e671620eb5563b2130f56340a5fde8 ""
- "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1619709138 133293 056f811e20f4757c99b4d671a8dc02ad ""
+ "/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.aux" 1619724085 133273 0f8f27d0b63c7d1b48a38f425181a943 ""
"/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.tex" 1619403261 4558 99e8133d713ce68a01e2f2b59b0d6baf ""
"/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 ""
@@ -138,18 +138,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" 1619709138 2304 6fc0f2d9a5bfe4d2f2f6e643e8c9efdb "pdflatex"
- "floss-arduino.ard" 1619709138 2082 af0344a36cf6a45a34513b17b6bef8a2 "pdflatex"
- "floss-arduino.aux" 1619709138 133293 056f811e20f4757c99b4d671a8dc02ad "pdflatex"
- "floss-arduino.bbl" 1619709018 2654 051fbb0ca9f90e7ce7d2577998098d98 "bibtex floss-arduino"
- "floss-arduino.cod" 1619709138 2527 15dd4dd29d7bac8bfe55f0a40e6ce5b1 "pdflatex"
- "floss-arduino.ind" 1619681217 228 3aecfe8fd246b3bf714259f6bf61b4ba "makeindex floss-arduino.idx"
- "floss-arduino.juliad" 1619709138 2320 5d26a83b1c8d8c5c2d78232a10fa3269 "pdflatex"
- "floss-arduino.lof" 1619709138 13046 217b151cf1f8ae7de9ef7e98b96f0084 "pdflatex"
- "floss-arduino.lot" 1619709138 3702 2c6430ab9e432e80b4c95a4b7df7910a "pdflatex"
- "floss-arduino.pyd" 1619709138 2332 23d6af16ed1ec085e2f55c4cabf0c79b "pdflatex"
+ "floss-arduino.OpenModelicad" 1619724085 2304 8fe1b67fd8b2298d7a3eda84eb8f0c43 "pdflatex"
+ "floss-arduino.ard" 1619724085 2082 af0344a36cf6a45a34513b17b6bef8a2 "pdflatex"
+ "floss-arduino.aux" 1619724085 133273 0f8f27d0b63c7d1b48a38f425181a943 "pdflatex"
+ "floss-arduino.bbl" 1619724076 2654 051fbb0ca9f90e7ce7d2577998098d98 "bibtex floss-arduino"
+ "floss-arduino.cod" 1619724085 2517 fa5aa18bbf0cb65eeaea21637fd5c1ee "pdflatex"
+ "floss-arduino.ind" 1619723749 228 3aecfe8fd246b3bf714259f6bf61b4ba "makeindex floss-arduino.idx"
+ "floss-arduino.juliad" 1619724085 2325 4ae7e45d32e1d98055be849fce04a9a3 "pdflatex"
+ "floss-arduino.lof" 1619724085 13046 217b151cf1f8ae7de9ef7e98b96f0084 "pdflatex"
+ "floss-arduino.lot" 1619724085 3702 6b9b8bff6c5c56dabaa23a4a8575df9d "pdflatex"
+ "floss-arduino.pyd" 1619724085 2317 50719cf939100cd0323a9fbfa69ae19f "pdflatex"
"floss-arduino.tex" 1619403261 4558 99e8133d713ce68a01e2f2b59b0d6baf ""
- "floss-arduino.toc" 1619709138 15539 b9162722c42982a88ee0c09c851f74fe "pdflatex"
+ "floss-arduino.toc" 1619724085 15539 e161ef70902e48975db6704b3b944dba "pdflatex"
"suppl/acr.tex" 1615963613 1926 fd6481c4666ee0d60331b7d4cc24b645 ""
"suppl/intro.tex" 1615963613 3437 b09628cf9e20fe17fa65b37a5997653c ""
"suppl/styles.tex" 1615963613 8143 aa3280f0b59c8631fe8ec44895c9e871 ""
@@ -224,10 +224,10 @@
"user-code/led/arduino/led-blue/led-blue.ino" 1619653669 99 25f30fcd7cc7d7b6b9aa222deff00437 ""
"user-code/led/arduino/led-green-blink/led-green-blink.ino" 1619653924 375 d859b4f26e521d4c1afe19f92c8a1ebe ""
"user-code/led/figures/arduino-new-shield.jpeg" 1619681259 404878 627d5ed86bf3271cb2aed2af239e8339 ""
- "user-code/led/figures/led-blue-delay.png" 1615963614 24224 74fb9d7d47c0e80095ffd6941b94d7ed ""
- "user-code/led/figures/led-blue-red.png" 1615963614 33412 93a5fd2d5f2d8434e507136db11da0fc ""
- "user-code/led/figures/led-blue.png" 1615963614 25771 86ba836f30d36f9a400f5980eb7e74c0 ""
- "user-code/led/figures/led-green-blink.png" 1615963614 26877 69c8ba68c5a544a9fe3beb9c36fcfd40 ""
+ "user-code/led/figures/led-blue-com-2.png" 1619723929 118844 76197f2f2d54e9f24ff5133feb6b20e4 ""
+ "user-code/led/figures/led-blue-delay-com-2.png" 1619723721 131759 39ca1a34902244e390493719e5e5afa9 ""
+ "user-code/led/figures/led-blue-red-com-2.png" 1619723965 139836 8e4b4cfd07c210053264e34bfa61d292 ""
+ "user-code/led/figures/led-green-blink-com-2.png" 1619724068 145226 f748b57a3aedec908e67f4a2a063f94b ""
"user-code/led/figures/led.png" 1615963614 3299 6fdaa5be1f5df2c4fa3cc404b111c357 ""
"user-code/led/figures/led_output.png" 1615963614 4933000 3daaef0abe81c66166eaa3fd911c9b66 ""
"user-code/led/figures/rgb-led-bb.png" 1617583787 241915 7c5374def5f441085b2d93294dde7979 ""
@@ -236,7 +236,7 @@
"user-code/led/julia/led-blue-red.jl" 1617923932 320 02d5d14ebbd49cd33b25a9828492945c ""
"user-code/led/julia/led-blue.jl" 1619662025 170 c9cc13e4fb6e898855537bb9e1f2a787 ""
"user-code/led/julia/led-green-blink.jl" 1619663087 249 d785472e844af87c34e32322ccb211e2 ""
- "user-code/led/led.tex" 1619709280 46981 21714fee068f4b21ccf201fd84865a8d ""
+ "user-code/led/led.tex" 1619724133 46960 04d55579e914a0be256a951de11dc736 ""
"user-code/led/python/led-blue-delay.py" 1619660150 805 9c5bde89850fc3b25ced778dfafe1dcf ""
"user-code/led/python/led-blue-red.py" 1619660175 1039 339cefbe997737f931646cba049b8d12 ""
"user-code/led/python/led-blue.py" 1619658381 723 be6248a455119500e6930030c0c92250 ""
@@ -364,7 +364,7 @@
"user-code/sw-env/figures/win-command-prompt.png" 1619057483 18481 e5638717dbbb0533251e1adcbc9b10f0 ""
"user-code/sw-env/figures/windows-cmd.png" 1619057155 18559 6c4f07f73f86b74127aa8c76e23f3285 ""
"user-code/sw-env/figures/xcos-help.png" 1615963614 87275 3c9b5157ebebe381cd7b5281cdd28482 ""
- "user-code/sw-env/sw-env.tex" 1619681092 91312 79779bbe76e3404b4b83d6f80a4e9d20 ""
+ "user-code/sw-env/sw-env.tex" 1619723344 91312 47ab9b61e6e4f8d8aa69972d279d201f ""
"user-code/thermistor/OpenModelica/therm-buzzer.mo" 1619403721 1236 1f7c67893d838969538060ecfe0ab777 ""
"user-code/thermistor/OpenModelica/therm-read.mo" 1619403730 992 a6a3e7a260be69141ff1a6be804a9ae5 ""
"user-code/thermistor/arduino/therm-buzzer/therm-buzzer.ino" 1615963614 389 c4216c80dfb4f1f23b090c94fd181a05 ""
@@ -387,18 +387,18 @@
"user-code/thermistor/scilab/therm-read.sce" 1615963614 382 5e743c25b50f9d961a2939ce81d7b633 ""
"user-code/thermistor/thermistor.tex" 1618567312 25838 1f7c3824e3c28084af6bca0235c3226f ""
(generated)
- "floss-arduino.log"
"floss-arduino.ard"
- "floss-arduino.lof"
- "floss-arduino.pyd"
- "floss-arduino.cod"
- "floss-arduino.lot"
+ "floss-arduino.toc"
+ "floss-arduino.log"
+ "floss-arduino.OpenModelicad"
"/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.log"
- "floss-arduino.juliad"
+ "floss-arduino.pdf"
+ "floss-arduino.lot"
+ "floss-arduino.cod"
"floss-arduino.thm"
- "floss-arduino.toc"
+ "floss-arduino.pyd"
+ "floss-arduino.idx"
"floss-arduino.aux"
"/home/fossee/Desktop/floss-scilab-arduino/floss-arduino.pdf"
- "floss-arduino.idx"
- "floss-arduino.pdf"
- "floss-arduino.OpenModelicad"
+ "floss-arduino.juliad"
+ "floss-arduino.lof"
diff --git a/floss-arduino.fls b/floss-arduino.fls
index 3ce8799..d287936 100644
--- a/floss-arduino.fls
+++ b/floss-arduino.fls
@@ -445,19 +445,19 @@ INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-blue-re
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-green-blink.sce
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-green-blink.sce
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-green-blink.sce
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-com-2.png
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/jknappen/ec/ecrm1000.tfm
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blink.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blink.png
-INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blink.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blink-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blink-com-2.png
+INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blink-com-2.png
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py
INPUT /home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py
diff --git a/floss-arduino.juliad b/floss-arduino.juliad
index 4139a2b..a642441 100644
--- a/floss-arduino.juliad
+++ b/floss-arduino.juliad
@@ -1,6 +1,6 @@
\contentsline {section}{\numberline {3.{1}}A Julia source file to check whether the firmware is properly installed or not}{55}%
\addvspace {10pt}
-\contentsline {section}{\numberline {4.{1}}Turning on the LED}{88}%
+\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{87}%
\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{88}%
\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{88}%
\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{88}%
diff --git a/floss-arduino.log b/floss-arduino.log
index 79fe70f..d3457e2 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) 29 APR 2021 20:45
+This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2020.11.5) 30 APR 2021 00:56
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
@@ -1410,15 +1410,15 @@ sce [75])
e)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/scilab/led-green-blink
.sce)
-</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.png,
-id=435, 233.37187pt x 252.19218pt>
-File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.
-png Graphic file (type png)
-<use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p
-ng>
+</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-com-2
+.png, id=435, 766.865pt x 696.6025pt>
+File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-
+com-2.png Graphic file (type png)
+<use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-c
+om-2.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le
-d/figures/led-blue.png used on input line 394.
-(pdftex.def) Requested size: 178.86702pt x 193.29965pt.
+d/figures/led-blue-com-2.png used on input line 394.
+(pdftex.def) Requested size: 178.86702pt x 162.47923pt.
Overfull \hbox (4.77844pt too wide) in paragraph at lines 410--419
[][]
@@ -1426,92 +1426,89 @@ Overfull \hbox (4.77844pt too wide) in paragraph at lines 410--419
[76]
</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-delay
-.png, id=439, 226.59656pt x 243.91125pt>
+-com-2.png, id=439, 848.16875pt x 694.595pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-
-delay.png Graphic file (type png)
+delay-com-2.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d
-elay.png>
+elay-com-2.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le
-d/figures/led-blue-delay.png used on input line 429.
-(pdftex.def) Requested size: 178.86702pt x 192.53517pt.
+d/figures/led-blue-delay-com-2.png used on input line 429.
+(pdftex.def) Requested size: 178.86702pt x 146.47337pt.
Overfull \hbox (4.77844pt too wide) in paragraph at lines 444--456
[][]
[]
-[77 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue.p
-ng>]
-</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red.p
-ng, id=445, 245.41687pt x 339.51843pt>
+[77 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-c
+om-2.png>]
+</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-red-c
+om-2.png, id=445, 829.0975pt x 805.0075pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-
-red.png Graphic file (type png)
+red-com-2.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r
-ed.png>
+ed-com-2.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le
-d/figures/led-blue-red.png used on input line 467.
-(pdftex.def) Requested size: 178.86702pt x 247.45784pt.
+d/figures/led-blue-red-com-2.png used on input line 467.
+(pdftex.def) Requested size: 178.86702pt x 173.66284pt.
Overfull \hbox (13.85292pt too wide) in paragraph at lines 483--500
[][]
[]
-[78 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d
-elay.png>]
</home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-blin
-k.png, id=450, 246.9225pt x 251.43938pt>
+k-com-2.png, id=446, 869.2475pt x 678.535pt>
File: /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green
--blink.png Graphic file (type png)
+-blink-com-2.png Graphic file (type png)
<use /home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-
-blink.png>
+blink-com-2.png>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/le
-d/figures/led-green-blink.png used on input line 510.
-(pdftex.def) Requested size: 178.86702pt x 182.13731pt.
+d/figures/led-green-blink-com-2.png used on input line 510.
+(pdftex.def) Requested size: 178.86702pt x 139.61826pt.
Overfull \hbox (4.77844pt too wide) in paragraph at lines 525--538
[][]
[]
-[79 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-r
-ed.png>]
-Overfull \vbox (31.42311pt too high) has occurred while \output is active []
-
+[78 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-blue-d
+elay-com-2.png>] [79 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/f
+igures/led-blue-red-com-2.png>]
+Underfull \vbox (badness 1515) has occurred while \output is active []
-[80 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green-
-blink.png>]
+ [80 </home/fossee/Desktop/floss-scilab-arduino/user-code/led/figures/led-green
+-blink-com-2.png>]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py)
-[81]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py)
+[81]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay.
py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay.
py) [82]
-(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py
-[83])
+(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue.py)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-delay.
-py)
+py [83])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-blue-red.py
[84])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/python/led-green-blink
-.py [85]) [86]
-(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl)
-(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl)
+.py [85])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl)
+[86] (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl
+) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue-delay.j
l)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue-delay.j
-l) [87]
-(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl)
+l) (/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue.jl)
+[87]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue-delay.j
l)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-blue-red.jl)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/julia/led-green-blink.
-jl [88])
+jl) [88]
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue.
mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue.
@@ -1523,15 +1520,17 @@ mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue-
delay.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue-
-delay.mo) [90]
+delay.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue.
-mo)
+mo [90])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue-
delay.mo [91])
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-blue-
-red.mo [92])
+red.mo)
(/home/fossee/Desktop/floss-scilab-arduino/user-code/led/OpenModelica/led-green
--blink.mo) [93]) (./user-code/push/push.tex [94]
+-blink.mo [92])) (./user-code/push/push.tex [93] [94
+
+]
Chapter 5.
</home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutton-co
nn.png, id=504, 415.5525pt x 438.63875pt>
@@ -1551,9 +1550,7 @@ g>
Package pdftex.def Info: /home/fossee/Desktop/floss-scilab-arduino/user-code/pu
sh/figures/switch.png used on input line 72.
(pdftex.def) Requested size: 397.48499pt x 209.64827pt.
-[95
-
-]
+[95]
Underfull \vbox (badness 3098) has occurred while \output is active []
[96 </home/fossee/Desktop/floss-scilab-arduino/user-code/push/figures/pushbutt
@@ -2557,8 +2554,8 @@ LaTeX Warning: There were multiply-defined labels.
)
Here is how much of TeX's memory you used:
- 9820 strings out of 481239
- 215401 string characters out of 5920377
+ 9824 strings out of 481239
+ 215594 string characters out of 5920377
742688 words of memory out of 5000000
24317 multiletter control sequences out of 15000+600000
554670 words of font info for 69 fonts, out of 8000000 for 9000
@@ -2587,7 +2584,7 @@ sr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf/fonts
/type1/public/cm-super/sfrm1095.pfb></usr/share/texmf/fonts/type1/public/cm-sup
er/sfsi1095.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfss1095.pfb></us
r/share/texmf/fonts/type1/public/cm-super/sfti1095.pfb>
-Output written on floss-arduino.pdf (252 pages, 20549730 bytes).
+Output written on floss-arduino.pdf (252 pages, 20895255 bytes).
PDF statistics:
1125 PDF objects out of 1200 (max. 8388607)
654 compressed objects within 7 object streams
diff --git a/floss-arduino.lot b/floss-arduino.lot
index ad79f95..54702c2 100644
--- a/floss-arduino.lot
+++ b/floss-arduino.lot
@@ -7,8 +7,8 @@
\addvspace {10\p@ }
\contentsline {table}{\numberline {4.1}{\ignorespaces Parameters to light the blue LED in Xcos\relax }}{77}%
\contentsline {table}{\numberline {4.2}{\ignorespaces Parameters to light the blue LED in Xcos for two seconds\relax }}{78}%
-\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{80}%
-\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{81}%
+\contentsline {table}{\numberline {4.3}{\ignorespaces Parameters to turn the blue and red LEDs on and then turn them off one by one\relax }}{79}%
+\contentsline {table}{\numberline {4.4}{\ignorespaces Parameters to make the green LED blink every second\relax }}{80}%
\addvspace {10\p@ }
\contentsline {table}{\numberline {5.1}{\ignorespaces Parameters to print the push button status on the display block\relax }}{102}%
\contentsline {table}{\numberline {5.2}{\ignorespaces Xcos parameters to turn the LED on through the pushbutton\relax }}{103}%
diff --git a/floss-arduino.pdf b/floss-arduino.pdf
index 8e82fa8..ad005d7 100644
--- a/floss-arduino.pdf
+++ b/floss-arduino.pdf
Binary files differ
diff --git a/floss-arduino.pyd b/floss-arduino.pyd
index 1267c20..e264aa0 100644
--- a/floss-arduino.pyd
+++ b/floss-arduino.pyd
@@ -1,8 +1,8 @@
\addvspace {10pt}
\contentsline {section}{\numberline {3.{1}}A Python script to check whether the firmware is properly installed or not}{46}%
\addvspace {10pt}
-\contentsline {section}{\numberline {4.{1}}Turning on the blue LED through Python}{83}%
-\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{84}%
+\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{83}%
+\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{83}%
\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{84}%
\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{85}%
\addvspace {10pt}
diff --git a/floss-arduino.thm b/floss-arduino.thm
index 6146b86..5ca0eb1 100644
--- a/floss-arduino.thm
+++ b/floss-arduino.thm
@@ -14,19 +14,19 @@
\contentsline {codemass}{{Scilab Code}{4.{3}}{}}{76}%
\contentsline {codemass}{{Scilab Code}{4.{4}}{}}{76}%
\contentsline {egmass}{{Exercise}{4.{3}}{}}{79}%
-\contentsline {egmass}{{Exercise}{4.{4}}{}}{83}%
+\contentsline {egmass}{{Exercise}{4.{4}}{}}{82}%
\contentsline {pymass}{{Python Code}{4.{1}}{}}{83}%
-\contentsline {pymass}{{Python Code}{4.{2}}{}}{84}%
+\contentsline {pymass}{{Python Code}{4.{2}}{}}{83}%
\contentsline {pymass}{{Python Code}{4.{3}}{}}{84}%
\contentsline {pymass}{{Python Code}{4.{4}}{}}{85}%
-\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{88}%
+\contentsline {juliamass}{{Julia Code}{4.{1}}{}}{87}%
\contentsline {juliamass}{{Julia Code}{4.{2}}{}}{88}%
\contentsline {juliamass}{{Julia Code}{4.{3}}{}}{88}%
\contentsline {juliamass}{{Julia Code}{4.{4}}{}}{88}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{91}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{1}}{}}{90}%
\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{2}}{}}{91}%
\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{3}}{}}{92}%
-\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{93}%
+\contentsline {OpenModelicamass}{{OpenModelica Code}{4.{4}}{}}{92}%
\contentsline {ardmass}{{Arduino Code}{5.{1}}{}}{99}%
\contentsline {ardmass}{{Arduino Code}{5.{2}}{}}{99}%
\contentsline {codemass}{{Scilab Code}{5.{1}}{}}{101}%
diff --git a/floss-arduino.toc b/floss-arduino.toc
index 95b5cd1..1f07a5a 100644
--- a/floss-arduino.toc
+++ b/floss-arduino.toc
@@ -32,7 +32,7 @@
\contentsline {section}{\numberline {3.2}Scilab}{26}%
\contentsline {subsection}{\numberline {3.2.1}Downloading and installing on Windows}{26}%
\contentsline {subsection}{\numberline {3.2.2}Downloading and installing on GNU/Linux Ubuntu}{27}%
-\contentsline {subsection}{\numberline {3.2.3}Scilab Arduino toolbox}{27}%
+\contentsline {subsection}{\numberline {3.2.3}Scilab-Arduino toolbox}{27}%
\contentsline {subsection}{\numberline {3.2.4}Identifying Arduino communication port number}{29}%
\contentsline {subsection}{\numberline {3.2.5}Testing Scilab-Arduino toolbox}{31}%
\contentsline {subsection}{\numberline {3.2.6}Firmware}{34}%
@@ -68,15 +68,15 @@
\contentsline {subsection}{\numberline {4.4.1}Lighting the LED}{74}%
\contentsline {subsection}{\numberline {4.4.2}Scilab Code}{75}%
\contentsline {section}{\numberline {4.5}Lighting the LED from Scilab Xcos}{76}%
-\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{80}%
-\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{80}%
+\contentsline {section}{\numberline {4.6}Lighting the LED from Python}{81}%
+\contentsline {subsection}{\numberline {4.6.1}Lighting the LED}{81}%
\contentsline {subsection}{\numberline {4.6.2}Python Code}{83}%
\contentsline {section}{\numberline {4.7}Lighting the LED from Julia}{86}%
\contentsline {subsection}{\numberline {4.7.1}Lighting the LED}{86}%
-\contentsline {subsection}{\numberline {4.7.2}Julia Code}{88}%
+\contentsline {subsection}{\numberline {4.7.2}Julia Code}{87}%
\contentsline {section}{\numberline {4.8}Lighting the LED from OpenModelica}{89}%
\contentsline {subsection}{\numberline {4.8.1}Lighting the LED}{89}%
-\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{91}%
+\contentsline {subsection}{\numberline {4.8.2}OpenModelica Code}{90}%
\contentsline {chapter}{\numberline {5}Interfacing a Pushbutton}{95}%
\contentsline {section}{\numberline {5.1}Preliminaries}{95}%
\contentsline {section}{\numberline {5.2}Connecting a pushbutton with Arduino Uno\ using a breadboard}{95}%
diff --git a/user-code/led/figures/led-blue-com-2.png b/user-code/led/figures/led-blue-com-2.png
new file mode 100644
index 0000000..d021609
--- /dev/null
+++ b/user-code/led/figures/led-blue-com-2.png
Binary files differ
diff --git a/user-code/led/figures/led-blue-delay-com-2.png b/user-code/led/figures/led-blue-delay-com-2.png
new file mode 100644
index 0000000..374f096
--- /dev/null
+++ b/user-code/led/figures/led-blue-delay-com-2.png
Binary files differ
diff --git a/user-code/led/figures/led-blue-red-com-2.png b/user-code/led/figures/led-blue-red-com-2.png
new file mode 100644
index 0000000..bda0140
--- /dev/null
+++ b/user-code/led/figures/led-blue-red-com-2.png
Binary files differ
diff --git a/user-code/led/figures/led-green-blink-com-2.png b/user-code/led/figures/led-green-blink-com-2.png
new file mode 100644
index 0000000..183065f
--- /dev/null
+++ b/user-code/led/figures/led-green-blink-com-2.png
Binary files differ
diff --git a/user-code/led/led.tex b/user-code/led/led.tex
index 1c4c843..8848777 100644
--- a/user-code/led/led.tex
+++ b/user-code/led/led.tex
@@ -341,8 +341,8 @@ The reader should go through the instructions given in
\addtocontents{cod}{\protect\addvspace{\codclr}}
\begin{scicode}
- \ccaption{Turning on the LED through Scilab}
- {Turning on the LED through Scilab. Available at
+ \ccaption{Turning on the blue LED}
+ {Turning on the blue LED. Available at
\LocLEDscibrief{led-blue.sce}.}
\label{sci:led-blue}
\lstinputlisting{\LocLEDscicode/led-blue.sce}
@@ -391,7 +391,7 @@ getting started.
\begin{figure}
\centering
- \includegraphics[width=\smfig]{\LocLEDfig/led-blue.png}
+ \includegraphics[width=\smfig]{\LocLEDfig/led-blue-com-2.png}
\caption[Turning the blue LED on through Xcos]{Turning the blue
LED on through Xcos. This is what one sees when
\LocLEDscibrief{led-blue.zcos} is invoked.}
@@ -426,7 +426,7 @@ getting started.
\begin{figure}
\centering
- \includegraphics[width=\smfig]{\LocLEDfig/led-blue-delay.png}
+ \includegraphics[width=\smfig]{\LocLEDfig/led-blue-delay-com-2.png}
\caption[Turning the blue LED on through Xcos for two
seconds]{Turning the blue LED on through Xcos for two
seconds. This is what one sees when
@@ -464,7 +464,7 @@ getting started.
\begin{figure}
\centering
- \includegraphics[width=\smfig]{\LocLEDfig/led-blue-red.png}
+ \includegraphics[width=\smfig]{\LocLEDfig/led-blue-red-com-2.png}
\caption[Turning the blue and red LEDs on through Xcos and turning
them off one by one]{Turning the blue and red LEDs on through
Xcos and turning them off one by one. This is what one sees
@@ -507,7 +507,7 @@ getting started.
\begin{figure}
\centering
- \includegraphics[width=\smfig]{\LocLEDfig/led-green-blink.png}
+ \includegraphics[width=\smfig]{\LocLEDfig/led-green-blink-com-2.png}
\caption[Blinking the green LED every second through
Xcos]{Blinking the green LED every second through Xcos.
This is what one sees when
@@ -697,8 +697,8 @@ The reader should go through the instructions given in
\addtocontents{pyd}{\protect\addvspace{\codclr}}
\begin{pycode}
- \pcaption{Turning on the blue LED through Python}
- {Turning on the blue LED through Python. Available at
+ \pcaption{Turning on the blue LED}
+ {Turning on the blue LED. Available at
\LocLEDpybrief{led-blue.py}.}
\label{py:led-blue}
\lstinputlisting{\LocLEDpycode/led-blue.py}
@@ -784,7 +784,7 @@ The reader should go through the instructions given in \secref{sec:julia-start}
\addtocontents{juliad}{\protect\addvspace{\codclr}}
\begin{juliacode}
- \jcaption{Turning on the LED}
+ \jcaption{Turning on the blue LED}
{Turning on the blue LED. Available at
\LocLEDjuliabrief{led-blue.jl}.}
\label{julia:led-blue}
diff --git a/user-code/sw-env/figures/browse-directory-1.png b/user-code/sw-env/figures/browse-directory-1.png
new file mode 100644
index 0000000..3a0201e
--- /dev/null
+++ b/user-code/sw-env/figures/browse-directory-1.png
Binary files differ
diff --git a/user-code/sw-env/sw-env.tex b/user-code/sw-env/sw-env.tex
index 8b01024..14f97bb 100644
--- a/user-code/sw-env/sw-env.tex
+++ b/user-code/sw-env/sw-env.tex
@@ -465,7 +465,7 @@ communicate with \arduino. This process is illustrated in
\label{linux-cd}
\end{figure}
-\subsection{Scilab Arduino toolbox}
+\subsection{Scilab-Arduino toolbox}
Scilab, by default, does not have the capability to connect to
Arduino. All such add-on functionalities are added to \scilab\ using
toolboxes. Just like we have different installation binaries of
@@ -478,7 +478,7 @@ experiments mentioned throughout this book can be found in {\tt
Origin/user-code} directory. The {\tt user-code} directory will have
many sub-directories as per the experiments.
-Let us now see how to load the Scilab Arduino toolbox.
+Let us now see how to load the Scilab-Arduino toolbox.
\begin{enumerate}
\item First launch \scilab. On a Windows system, one may start/launch
\scilab\ either through the Start menu or by double-clicking on the