• Jump to sidebar
  • Jump to content
  • Scratch Wiki
  • Create
    • Make a Project
    • Create a Page
  • Explore
    • Explore Projects
    • Random Page
  • Discuss
    • Discuss Scratch
    • Wiki Forum Topic
    • Community Portal
  • Ideas
    • Scratch Ideas
    • Wiki FAQs
  • About
    • About Scratch
    • About Scratch Wiki
    • Page
    • Discussion
    • View source
    • View history
  • Not logged in
    • Log in
    • Request an account

Navigation

  • Scratch Wiki Home
  • Community Portal
  • Current Events
  • Recent Changes
  • Random Page
  • Help
  • About

Tools

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

For Editors

  • WW Suggestions
  • Things To Do
  • Wiki Sandbox
  • Your Sandbox
  • Edit
  • Page history
  • Purge cache

Help the wiki!

The Scratch Wiki is made by and for Scratchers. Do you want to contribute?

Learn more about joining as an editor!

See discussions in the Community Portal

Raspberry Pi GPIO Extension

WMCommonsRaspberryPi4.png This article or section documents something only available on the Raspberry Pi version of Scratch 3.0.

The Raspberry Pi GPIO extension allows the Scratch program to control Raspberry Pi GPIO (general purpose input/output) pins. This extension is exclusive to the Raspberry Pi release of Scratch 3.0; other versions do not have it.

Blocks

The Raspberry Pi GPIO extension contains four blocks:

  • when gpio (0 v) is [high v]::extension hat
  • <gpio (0 v) is [high v]?::extension>
  • set gpio (0 v) to output [high v]::extension
  • set gpio (0 v) to input [pulled high v]::extension

See Also

  • Raspberry Pi Sense HAT Extension
  • Raspberry Pi Simple Electronics Extension


v • d • e
Block Categories
Main Block Categories

Motion Blocks • Looks Blocks • Sound Blocks • Events Blocks • Control Blocks • Sensing Blocks • Operators Blocks • Variables Blocks (List Blocks) • My Blocks

Extensions

Music Extension • Pen Extension • Video Sensing Extension • Face Sensing Extension • Text to Speech Extension • Translate Extension • Makey Makey Extension • micro:bit Extension • Go Direct Force & Acceleration Extension • LEGO MINDSTORMS EV3 Extension • LEGO BOOST Extension • LEGO Education WeDo 2.0 Extension

Raspberry Pi Extensions

Raspberry Pi GPIO Extension • Raspberry Pi Sense HAT Extension • Raspberry Pi Simple Electronics Extension

Former Extensions

Motor Blocks • LEGO WeDo 1.0 Extension • Community Blocks • PicoBoard Blocks

Retrieved from "https://en.scratch-wiki.info/w/index.php?title=Raspberry_Pi_GPIO_Extension&oldid=345842"
Categories:
  • Scratch 3.0 Extensions
  • Raspberry Pi GPIO Extension
The Wiki is working on a dark theme, and you're seeing it! Got feedback? Post on the Wiki Forum Topic.
  • This page was last edited on 22 December 2024, at 21:48.
  • Content is available under CC BY-SA 4.0 unless otherwise noted.
  • Privacy policy
  • About Scratch Wiki
  • Disclaimers

  • CC BY-SA 4.0
About
About Scratch
About Scratch Wiki
For Parents
For Educators
For Developers
Scratch Team
Scratch Donors
Scratch Jobs
Donate to Scratch
Community
Community Guidelines
Discussion Forums
Scratch Wiki
Statistics
Community Portal
Resources
Help for Editors
Ideas
Wiki FAQs
Offline Editor
Legal
Privacy policy
Disclaimers
Scratch Family
Scratch Website
ScratchEd
ScratchJr
Scratch Day
Scratch Conference
Scratch Foundation
Scratch Store