ScratchGPIO

Control GPIO on the Raspberry Pi directly from Scratch programs

Scratch GPIO

This script allows you to control the GPIO pins on the Raspberry Pi from Scratch

How to install ScratchGPIO

Your Raspberry Pi needs to be connected to the internet to install the software but not needed to run ScratchGPIO. Copy the text below ( left click just before the s of sudo and drag right until all the text in the line as been selected) then right-click and select copy. Open up an LX Terminal window and select Edit and the Paste that into an LX Terminal window and run it to download the installer.

sudo wget http://goo.gl/Pthh62 -O isgh5.sh --no-check-certificate

Once the installer has been downloaded then just type (or copy and paste the text below as before)

sudo bash isgh5.sh

The installer will create 2 desktop icons – ScratchGPIO5 which is used for beginners using simple circuits and ScratchGPIO 5Plus which is used with specific add-on boards.

Full details here