# 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.
Metadata
Release files for scratch-ext 0.7.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scratch-ext-0.7.6.tar.gz | 63.6 kB | Without provenance | Details for scratch-ext-0.7.6.tar.gz |
Release files / scratch-ext-0.7.6.tar.gz
| Download URL | scratch-ext-0.7.6.tar.gz |
|---|---|
| Size | 63.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd9475e6ef4daea3cef64f2b7aba688c3a8e4bdbd60c67abc3f0d763d62b66b5
|
|
BLAKE2b-256 checksum How to use checksums |
385f59340bf97a7a28aceb35928b22d5fb6abed2f8bee9e7b80ee6cda6d3a055
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for scratch-ext 0.7.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.