Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Beaglebone Python Programming

You're reading from  Learning Beaglebone Python Programming

Product type Book
Published in Jul 2015
Publisher
ISBN-13 9781784399702
Pages 196 pages
Edition 1st Edition
Languages

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

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}