Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning BeagleBone

You're reading from   Learning BeagleBone Learn how to love and care for your BeagleBone and teach it tricks

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781783982905
Length 206 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Hunyue Yau Hunyue Yau
Author Profile Icon Hunyue Yau
Hunyue Yau
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing the Beagle Boards 2. Software in the BeagleBone FREE CHAPTER 3. Building an LED Flasher 4. Refining the LED Flasher 5. Connecting the BeagleBone to Mobile Devices 6. Recovering from the Mistakes 7. Interfacing with the BeagleBone 8. Advanced Software Topics 9. Expansion Boards and Options A. The Boot Process B. Terms and Definitions
Index

Flashing the LEDs

Hello, World might be a good first exercise on the BeagleBone to build a foundation, but it doesn't leverage any of the unique embedded features of the BeagleBone. The BeagleBone can interact with the real world. Our next exercise will be a classic first exercise for embedded devices such as the BeagleBone. We will attempt to blink some of the LEDs on the BeagleBone over the course of the next few exercises.

LEDs on the BeagleBone

The BeagleBone boards come with four programmable LEDs. These are the same LEDs that are used to indicate the software flashing status located next to the RJ45 Ethernet connector. On the BBW, the LEDs are green, whereas on the BBB, the LEDs are blue. The LEDs can be programmed in the same way on both the BBB and BBW. They are the LEDs that we will be blinking in our exercises.

You can see all the four LEDs on the BeagleBone White and BeagleBone Black turned on in the following image:

LEDs on the BeagleBone

Exercise 2 – taking control of the LEDs

The goal of...

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 $19.99/month. Cancel anytime
Banner background image