Getting Started with Raspberry Pi, 2E by Matt Richardson & Shawn Wallace

Getting Started with Raspberry Pi, 2E by Matt Richardson & Shawn Wallace

Author:Matt Richardson & Shawn Wallace
Language: eng
Format: epub
Publisher: O'Reilly Media, Inc.
Published: 2014-10-29T16:00:00+00:00


Figure 6-6. The PicoBoard is a sensor accessory that is designed to work with Scratch

The PicoBoard sends the sensor values to Scratch using its own PicoBoard protocol. The S4A Project (Scratch for Arduino) has implemented the same protocol for Arduino, so you can connect to the real world that way as well. S4A requires a custom version of Scratch that’s available on their project page.

Sharing Your Programs

One of the really interesting aspects of Scratch is that there’s a community built right into the program. Besides Random Sprite tool (which will grab random sprites from other Scratch users), there’s also a sharing feature that will let you package and upload your programs to MIT’s Scratch project page. At last count, there were over 1.2 million Scratch users, who have shared over 2.8 million programs.

One reason there are so many shared projects is that it is very easy to do so. Once you create an account at scratch.mit.edu, just select Share This Project Online… under the Share menu. You’ll be prompted for some information (Figure 6-7), and your project will be uploaded to the site. There’s a 10 MB size limit, so you might need to compress some of your images or sounds first (see the options under the Edit menu). The Scratch project page is a great place to go to see what is possible with the environment.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.