Arduino For Beginners, Chapter 1
Arduino For Beginners, Chapter 1
Learning Objectives
• At the completion of this lesson, the student will be
able to:
– State the use of a constant.
– Explain why setup() and loop() are required functions in all
Arduino sketches (programs).
– Explain the use of the Arduino functions/commands:
pinMode( ), digitalWrite( ) and delay( ).
– Demonstrate how to use the two types of comments used
in Arduino programming.
Text/Author Information
• Text Book used in this course:
– Title: Introduction to Arduino: A piece of Cake!
– Author: Alan G. Smith
– ISBN: 1463698348
– ISBN-13: 978-1463698348
– Email: [email protected]
– Purchase text: www.amazon.com
– Download the free PDF: www.introtoarduino.com
Instructor Information
• This PowerPoint presentation
– Instructor: Richard T. Vannoy II, M.S.I.T., B.S.E.E.T.
– Email: [email protected]
– Web Site: www.TeachElectronics.com
Instructor’s Note:
*/ (Asterisk-Slash) ends
the comment.
These Asterisks are just
a decoration for looks.
They have no meaning or
effect in the program.
These little arrows are not part of
the program. Some text editors use
them when printing to say “I
couldn’t fit all that you wanted on
this line, so I continued this line
one line down.”
The Slash-Asterisk – Asterisk-Slash
combination is usually used for
multi-line comments, but can also be
used on just one line as shown here.
Different sections of the sketch
often have a description header like
this to identify what this section
does.
Each chapter in the text has Exercises at
the end so you can practice the ability
to make changes in the hardware and the
source code.
The End
You Can Learn Arduino Programming!