Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Banana Pi Cookbook

You're reading from   Banana Pi Cookbook Over 25 recipes to build projects and applications for multiple platforms with Banana Pi

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781783552443
Length 200 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
RYAD E DAJANI RYAD E DAJANI
Author Profile Icon RYAD E DAJANI
RYAD E DAJANI
Ryad El-Dajani Ryad El-Dajani
Author Profile Icon Ryad El-Dajani
Ryad El-Dajani
Arrow right icon
View More author details
Toc

Introduction


This chapter covers the basics of the hardware world of the Banana Pi. Just like the Raspberry Pi and the Arduino, the Banana Pi is able to interact with external electrical components. To achieve this, we are going to use the GPIO (General-Purpose input/output) pins that are introduced in this chapter.

We will switch on an LED using the shell and with a small application that we are programming. Furthermore, we will build a circuit, including a pull-down resistor and control an LED with a button. To achieve this, we will introduce the C programming language with the WiringPi library and the Python scripting language with the RPi.GPIO library.

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Banana Pi Cookbook
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 ₹800/month. Cancel anytime
Modal Close icon
Modal Close icon