Summary
In this chapter, you've learned how to interact with the Arduino IDE and create, edit, upload, and run programs on Arduino. You have also been exposed to the C programming language. If this is your first experience with programming, don't be surprised if you are still uneasy with programing in general and the if
and for
statements in particular. You probably felt just as uncomfortable with your first introduction to the English language; you just may not remember it.
It is always a bit difficult to try new things. However, I will try to give you explicit instructions on what to type so that you can be successful. There is one major challenge when working with computers. They always do exactly what you tell them to do and not necessarily what you want them to do. So, if you encounter problems, check several times to make sure that your code matches the example exactly. In the next chapter, you'll learn to access the GPIO pins to interface with the outside world.