CHAPTER 1Quickstart

THIS IS A CHAPTER for the impatient Evil Genius. Your new Arduino board has arrived, and you are eager to have it do something.

So, without further ado…

Powering Up

When you buy an Arduino Uno or Leonardo board, it is usually preinstalled with a sample Blink program that will make the little built-in LED flash. Figure 1-1 shows a pair of Arduino boards.

image

Figure 1-1 Arduinos Uno and Leonardo.

The light-emitting diode (LED) marked L is wired up to one of the digital input-output sockets on the board. It is connected to digital pin 13. This really limits pin 13 to being used as an output, but the LED only uses a small amount of ...

Get 30 Arduino Projects for the Evil Genius, Second Edition, 2nd Edition now with O’Reilly online learning.

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