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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Banana Pro Blueprints

You're reading from   Banana Pro Blueprints Leverage the capability of Banana Pi with exciting real-world projects

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher Packt
ISBN-13 9781783552382
Length 366 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Ruediger Follmann Ruediger Follmann
Author Profile Icon Ruediger Follmann
Ruediger Follmann
Tony Zhang Tony Zhang
Author Profile Icon Tony Zhang
Tony Zhang
Arrow right icon
View More author details
Toc

Controlling the LeScratch peripherals


We can now run the LeScratch Python program and Scratch 1.4 to try all the sensor modules one by one. In this section, we're going to parse the details of each extension. Then, we're going to introduce you to the demonstration which will be explained in the Building the LeScratch smart house section that uses most of our extension block: the LeScratch smart house. You can also create your own new applications and share them with LeScratch users in the LeMaker Forum at http://www.lemaker.org/forum-171-1.html.

General Purpose Input Output (GPIO)

GPIO is a generic pin on an integrated circuit whose behavior can be controlled by a user at runtime, regardless of whether it is an input or output pin.

Instructions

GPIO pins have no special purpose defined and go unused by default. A number out of the list defined by RPi.BCM [4, 5, 6, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27] is usually available for GPIO controls. The GPIO board has 40 LEDs and 15...

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