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

Configuring LeScratch


The Scratch 1.4 education software runs in cooperation with LeScratch to let people earn easy access to the principles of microcomputers. Before starting, system configurations should be set to support the LeScratch functionalities in order to send and receive messages among peripherals. In this chapter, we'll use the Raspbian for BananaPro v1412 system image version, which can be downloaded at http://www.lemaker.org/product-bananapro-download-16.html. Now, let's declare the my_LeScratch project directory under the home directory: all the operations in the following sections are based on this directory:

cd ~
mkdir my_LeScratch

Installing the prerequisites

LeScratch needs to preinstall some packages, such as python-dev, python-setuptools, i2c-tools, and python-smbus:

sudo apt-get install python-dev
sudo apt-get install python-setuptools python-smbus i2c-tools

Since the I2C driver is installed and enabled by default, you only have to install the SPI drivers; now open the...

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