CHAPTER 3

image

LED Effects

In Chapter 2, you learned the basics of input and output, some rudimentary electronics, and a whole bunch of coding concepts. In this chapter, you’re going to continue with LEDs, making them produce some very fancy effects. This chapter doesn’t focus much on electronics; instead, you will be introduced to many important coding concepts such as arrays, mathematic functions, and serial communications that will provide the necessary programming skills to tackle the more advanced projects later in this book.

Project 5 – LED Chase Effect

We are now going to use a string of LEDs (10 in total) to make an LED chase effect (see ...

Get Beginning Arduino, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.