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.
Students at the Interactive Design Institute, ...