4 Programming the Arduino

In this chapter, you’ll start to see how the Arduino controls electronics with the programs that you write. First you’ll set up the software to program the Arduino on a computer; then you’ll connect your Arduino to a breadboard. We’ll show you how to build an SOS signal light using an LED. You’ll learn basic rules about writing code and get familiar with writing code in the Arduino environment. For this chapter, you need to know how to hook up your Arduino to a computer and how to build a basic circuit on a breadboard.

Arduino, Circuits, and Code: Bringing Everything Together

This is your first opportunity to combine building circuits with basic programming. When you add programming and the Arduino to your circuit, ...

Get Learn Electronics with Arduino now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.