- Programming the BeagleBone
- Yogesh Chavan
- 216字
- 2021-07-23 14:36:48
Chapter 3. Blinking External LEDs
In the previous chapter we programmed onboard LEDs on BeagleBone using BoneScript APIs. As BeagleBone is an embedded device, it can be used in an environment where a keyboard, mouse and monitor might not be available. Rather, most of the times embedded boards do not have these devices. Typical input and output components of embedded boards are LEDs and push-buttons. LEDs can be used as the output device to represent information, for example the board may turn an LED on when there is high system load and turn it off when the system load is low. So, by looking at LEDs we get information about if the system is under high load or not. That is why it is important to program LEDs on BeagleBone so that we can send information as output via LEDs where the monitor is absent. In this chapter, we will continue to program LEDs. We will connect external LEDs and blink them using our BoneScript program. To achieve this, we need to learn about GPIO on BeagleBone.
Here are the topics that will be covered in this chapter:
- What is GPIO?
- BeagleBone GPIO map
- Blinking external LED circuit setup
- Program to blink external LED
- Dancing external LEDs circuit setup
- Program to dance external LEDs
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- ASP.NET MVC4框架揭秘
- PHP 從入門到項(xiàng)目實(shí)踐(超值版)
- Python自動化運(yùn)維快速入門(第2版)
- Julia Cookbook
- INSTANT Django 1.5 Application Development Starter
- Android移動開發(fā)案例教程:基于Android Studio開發(fā)環(huán)境
- Python3.5從零開始學(xué)
- TMS320LF240x芯片原理、設(shè)計及應(yīng)用
- Android嵌入式系統(tǒng)程序開發(fā):基于Cortex-A8(第2版)
- Go語言開發(fā)實(shí)戰(zhàn)(慕課版)
- 深度探索Go語言:對象模型與runtime的原理特性及應(yīng)用
- 從零開始學(xué)Android開發(fā)
- Spring Boot從入門到實(shí)戰(zhàn)
- Getting Started with the Lazarus IDE