0% found this document useful (0 votes)
24 views1 page

Tle-Ct Feb 19, 2023

parts of electronics

Uploaded by

hezekiahgiansr71
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views1 page

Tle-Ct Feb 19, 2023

parts of electronics

Uploaded by

hezekiahgiansr71
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Hezekiah Gian T.

Espino X-Einstein
February 19, 2023
TLE-CT

Discuss the principles and concepts of control interface, functions, status indicator
devices, actuator and locomotion SSP_TLE-CT10FEI-IIIa-1.1

*Answer the following questions:

1. Arduino programs can be divided into three main parts. What are these parts? Give
examples for each part.
-The three main parts are, structure, variables and functions.

2. Describe what is digitalWrite function.


-Digital write function wants to know a PIN number on your arduino and then it wants to know
a state either high or low.

3. What is a function call?


-When we type a digitalwrite, it is called a function call.

4. What are parameters?


-Parameters are what a function wants or expects.

5. What are arguments?


-It is the actual and specific values that you give to a function.

6. Describe what is digitalRead function.


-It is a command that reads the value of a digital input PIN and returns either “HIGH” or
“LOW”.

7. Describe what is millis function.


-Its going to give the number of milliseconds that the current Arduino sketch has been
running.

8. What is the purpose of functions?


-Functions are an important programming concept used to organize code and make it more
modular and reusable. A function is a block of code that performs a specific task and can be
called from other parts of the program. Functions take inputs, process them, and produce
outputs. The purpose of functions is to make the code more efficient and easier to read,
understand, and maintain.

9. In the video, the presenter talks about the resource called “Reference”. Where can
you find this resource?
-You can find this resource called “Reference” in the Arduino software website.

You might also like