O'Reilly logo

Arduino in Action by Martin Evans, Joshua Noble, and Jordan Hochenbaum

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Coding primer

This coding primer is a basic guide to the Arduino language and how it’s used to create sketches that can be run on an Arduino. We’ll cover the following topics:

  • History of the Arduino language
  • Using variables
  • Using control statements
  • Using loops
  • Using functions

B.1. The Arduino language

The Arduino language is based on C/C++, and anyone who has previously studied C or C++ will readily be able to read the written code. If you haven’t studied C or C++ before, don’t worry. The Arduino language was designed to make coding as painless as possible, allowing you to concentrate on what can be done rather than how it’s done.

History of the Arduino language

Students at the Interactive Design Institute, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required