-
Notifications
You must be signed in to change notification settings - Fork 2
/
floss-arduino.cod
34 lines (34 loc) · 2.76 KB
/
floss-arduino.cod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\addvspace {10pt}
\contentsline {section}{\numberline {3.{1}}A Scilab code to check whether the firmware is properly installed or not}{42}{codemass.3.1}%
\addvspace {10pt}
\addvspace {10pt}
\addvspace {10pt}
\contentsline {section}{\numberline {4.{1}}Turning on the blue LED}{89}{codemass.4.1}%
\contentsline {section}{\numberline {4.{2}}Turning on the blue LED and turning it off after two seconds}{90}{codemass.4.2}%
\contentsline {section}{\numberline {4.{3}}Turning on blue and red LEDs for 5 seconds and then turning them off one by one}{90}{codemass.4.3}%
\contentsline {section}{\numberline {4.{4}}Blinking the green LED}{90}{codemass.4.4}%
\addvspace {10pt}
\contentsline {section}{\numberline {5.{1}}Read the status of the pushbutton and display it on the GUI}{121}{codemass.5.1}%
\contentsline {section}{\numberline {5.{2}}Turning the LED on or off depending on the pushbutton}{121}{codemass.5.2}%
\addvspace {10pt}
\contentsline {section}{\numberline {6.{1}}Read and display the LDR values}{145}{codemass.6.1}%
\contentsline {section}{\numberline {6.{2}}Turning the red LED on and off}{146}{codemass.6.2}%
\addvspace {10pt}
\contentsline {section}{\numberline {7.{1}}Turning on LEDs depending on the potentiometer threshold}{167}{codemass.7.1}%
\addvspace {10pt}
\contentsline {section}{\numberline {8.{1}}Read and display the thermistor values}{190}{codemass.8.1}%
\contentsline {section}{\numberline {8.{2}}Turning the buzzer on using thermistor values}{191}{codemass.8.2}%
\addvspace {10pt}
\contentsline {section}{\numberline {9.{1}}Rotating the servomotor to a specified degree}{220}{codemass.9.1}%
\contentsline {section}{\numberline {9.{2}}Rotating the servomotor to a specified degree and reversing}{221}{codemass.9.2}%
\contentsline {section}{\numberline {9.{3}}Rotating the servomotor in steps of $20^\circ $}{221}{codemass.9.3}%
\contentsline {section}{\numberline {9.{4}}Rotating the servomotor to a degree specified by the potentiometer}{221}{codemass.9.4}%
\addvspace {10pt}
\contentsline {section}{\numberline {10.{1}}Rotating the DC motor}{256}{codemass.10.1}%
\contentsline {section}{\numberline {10.{2}}Rotating the DC motor in both directions}{257}{codemass.10.2}%
\contentsline {section}{\numberline {10.{3}}Rotating the DC motor in both directions in a loop}{257}{codemass.10.3}%
\addvspace {10pt}
\contentsline {section}{\numberline {11.{1}}First 10 lines of the function for scifunc block}{296}{codemass.11.1}%
\contentsline {section}{\numberline {11.{2}}First 10 lines of the code for single phase current output}{296}{codemass.11.2}%
\contentsline {section}{\numberline {11.{3}}First 10 lines of the code for single phase voltage output}{296}{codemass.11.3}%
\contentsline {section}{\numberline {11.{4}}First 10 lines of the code for single phase active power output}{297}{codemass.11.4}%