Book Image

Banana Pro Blueprints

By : Tony Zhang
Book Image

Banana Pro Blueprints

By: Tony Zhang

Overview of this book

This book follows a tactical plan that will guide you through the implementation of Banana Pro and its configurations. You will then learn the various programming languages used with Banana Pi with the help of examples. In no time at all, you’ll be working on a wireless project that implements AirPlay servers, hotspots, and so on. Following this, you’ll develop a retro-style arcade kiosk game. Then we’ll move on to explore the multimedia features of Banana Pro by designing and building an enclosure for it. After this, you’ll learn to build a remote-controlled smart car and we’ll examine how to control a robotic arm. The book will conclude with the creation of a home sensor system that has the ability to expand or shrink to suit any home.
Table of Contents (15 chapters)
Banana Pro Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Scratch


Scratch is a programming language for children and teenagers. Graphical boxes have replaced all programming elements within this language. The language itself was invented and developed at MIT. The name is related to a scratching technique from turntables (mixing sounds). Scratch programs are event-driven with objects called sprites. Sprites can be either drawn or imported from external sources such as webcams.

Scratch can be used from a web interface. In addition to this, there is an Integrated Development Environment (IDE) available, which can be installed on Banana Pro using this command:

sudo apt-get install scratch

On many distributions, Scratch is already preinstalled.

Figure 13

Typing the scratch command will start Scratch, as shown in the preceding screenshot. The IDE is split into three different parts: the left-hand side column contains all programming elements, the middle area can be used to place the programming elements in order to program functionality, and the right...