Skip to content

DeeJay/scratch_gpio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Code for scratch_gpio_handler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.6%
  • XML 3.1%
  • Shell 2.3%