This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Access external Scratch sensors and endpoints through python

Project Description

# scratch-ext Access external locations (eg: GPIO) from scratch on the Raspberry Pi

# Running Clone the repo (or download the .tar.gz). Move the .desktop file to your desktop, and start from there, or run from a terminal inside X:

` bash ./startup.sh `

# Usage For now you can use the standard GPIO pins, broadcast a message in Scratch, saying pin 11 on will turn pin 11 high, pin 11 off will turn it low. You can also use pin 11 1, pin 11 high, etc. gpio is an alias for the ping command (eg gpio 11 on).

The script will update any changes in the gpio pins to the standard Scratch sensors. Open the ‘sensing’ tab, and select the pin you want to read from the list. This will return a 1 when high, and a 0 when low.

# Writing plugins Add a .py file to the plugins dir, extend from plugin base, and implement the receive method, see the ExamplePlugin for an example.

Release History

Release History

This version
History Node

0.7.6

History Node

0.7.5

History Node

0.6.1

History Node

0.5.5

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
scratch-ext-0.7.6.tar.gz (63.6 kB) Copy SHA256 Checksum SHA256 Source Apr 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting