cymplecy / scratch_gpio

Code for scratch_gpio_handler
42 stars 23 forks source link

ScratchGPIO : a Python-Scratch handler for Raspberry Pi

This is the source of a Raspberry Pi GPIO handler for Scratch. It acts as a go-between between Scratch and the GPIO pins and lets you use simple Scratch broadcasts such as "Pin11On" or "AllOff" to allow you to control LEDs

It understands a number of variable names usch as "set Power11 to 50" which will effectively set Pin11 to half power "set Power12 to 100" will set Pin12 to full power.

it also has support for up to three, cheap, 5 wire unipolar stepper motors and cheap Ultrasonic boards which makes it very acheivable to program up maze solving robots using Scratch!

The code is being activley developed but the code in this folder is considered stable. The dev branch contains my day to day changes.

Usage

I maintain full download, install and usuage instructions in this blog http://cymplecy.wordpress.com/scratchgpio

The code and installer in this folder are the same version as the ones linked to in the blog.

Issues & Fixes

Please file any issues and feel free to submit pull requests

Note:@bennuttall and @mattvenn have collaborator access rights in case of contact issues with myself