Creating Arduino Sketches
IN THIS CHAPTER
Learning the essentials of the Arduino language
Working with variables
Adding if statements to your programs
Using while and for loops
Creating your own functions
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.