Chapter 2

Creating Arduino Sketches

IN THIS CHAPTER

Bullet Learning the essentials of the Arduino language

Bullet Working with variables

Bullet Adding if statements to your programs

Bullet Using while and for loops

Bullet Creating your own functions

Bullet Using a prototyping board

Welcome to programming! This chapter is a very brief introduction to the programming language you use to develop Arduino sketches. If you've never done any kind of computer programming before, you’re in for an interesting and fun journey. The nuances of computer programming can be difficult to grasp at first, but once you get your mind around some of the basic concepts, you’ll discover all sorts of things you can coerce your Arduino to do.

Technical stuff The Arduino language is actually a standard programming language known as C++. C++ happens to be an advanced ...

Get Electronics All-in-One For Dummies, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.