Book Image

Learning Beaglebone Python Programming

Book Image

Learning Beaglebone Python Programming

Overview of this book

Table of Contents (19 chapters)

Chapter 3. Digital Outputs

In this chapter, you will learn the basics of GPIO outputs and driving LEDs, as well as some of the features of the Cloud9 IDE. We will cover the following topics:

  • How GPIO pins are configured

  • Using the Python interactive prompt to control digital outputs

  • Calculating current limiting resistor values for LEDs

  • Using NPN transistors to drive LEDs from GPIO pins

  • Blinking an LED continuously with a Python program

  • Running multiple programs at once to blink multiple LEDs

  • Running programs on startup