Book Image

Scratch Cookbook

By : Brandon Milonovich
Book Image

Scratch Cookbook

By: Brandon Milonovich

Overview of this book

Scratch 2.0 is an easy to use programming language that allows you to animate stories and create interactive games. Scratch also gives you the capability of using programming to calculate complicated calculations for you. Scratch Cookbook will lead you through easy-to-follow recipes that give you everything you need to become a more advanced programmer. Scratch Cookbook will take you through the essential features of Scratch. You'll then work through simple recipes to gain an understanding of the more advanced features of Scratch. You will learn how to create animations using Scratch. Sensory board integration (getting input from the outside environment) will also be covered, along with using Scratch to solve complicated and tedious calculations for you. You'll also learn how to work through the exciting process of project remixing where you build on the work of others. Scratch Cookbook will give you everything you need to get started with building your own programs in Scratch that involve sounds, animations, and user interaction.
Table of Contents (17 chapters)
Scratch Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up the sensor board


Let's work through this recipe to get our sensor board set up.

Getting ready

The first step is physically setting up the PicoBoard, getting your computer set up to recognize it, and then setting up Scratch to know it is there. These are all things we are going to take care of in this recipe so that you are ready for the rest of the chapter to dive into using the sensor board.

How to do it...

Follow along these steps to get your PicoBoard ready to go. Do not connect the PicoBoard to the computer until you are instructed to do so in the following steps:

  1. Download the most up-to-date drivers for your board from http://picocricket.com/whichpicoboard.html.

  2. You'll be asked to determine if the board has a serial connection or USB. If you purchased your board from the link mentioned in the preceding step, it is most likely a USB connection. You can identify a USB connection as a slim, rectangular shaped plug on the computer end. A similar, but smaller, version of that plug will...