Book Image

Arduino Essentials

Book Image

Arduino Essentials

Overview of this book

Table of Contents (17 chapters)
Arduino Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

The Arduino language


As you may have noticed, the code you write for your Arduino sketches is very similar to the C programming language. It is, in fact, a subset of it, which makes it very convenient to use, given that the C programming language is almost a de facto standard in most platforms and devices.

Traditionally, the C programming language has been portrayed as not being very user friendly, but I prefer to refer to it as being friend-selective.

One of the missions of this book is to introduce you to the C programming language, so that if you don't have any previous knowledge of it, you can take your first steps in an easy and secure way and ensure you will become good friends with it.

The only thing you should do is strictly respect its syntax and know that in the C language, a comma or a semicolon are important and that the case when writing is also significant. Perhaps these two things are the origin of half the mistakes you will make when programming and that give the C programming...