Chapter 3. Using Digital and PWM Output Pins
In this chapter, we'll explore the pins of our microcontroller: how they work, how to manipulate them with Johnny-Five, and how different pins can be programmed to behave in different ways. We'll also build two new projects—one in which we will use several LEDs to explore the Led
API more, and another in which we will use a Piezo element to make some music! We will cover the following topics in this chapter:
How GPIO pins work
Using multiple outputs with several LEDs
Using a PWM output with a Piezo element