Posts: 1
Joined: Fri Mar 09, 2018 12:22 am

Help using broadcast commands

Wed Mar 14, 2018 11:10 pm

When I go to use the GPIO pins is scratch I always see the tutorials say to broadcast GPIOseveron. This is the most elaboration I get but I can't find how to do this. I tried creating a message called GPIOserveron but that didn't work after broadcasting it. I can't find any other way that seems to make sense to do this. Please help. Thanks.

Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 279
Joined: Fri Jan 06, 2012 7:46 pm

Re: Help using broadcast commands

Thu Mar 15, 2018 6:45 am

I'm assuming that you're using Scratch 1.4 on the Pi, as opposed to the newer Scratch 2.0.

'Broadcast gpioserveron' won't have any visible effects on its won. It just tells Scratch that you're using the broadcast commands to talk to the gpio pins.

If you want more detail, the original instructions for gpioserver are here: https://www.raspberrypi.org/documentati ... /README.md

Hope that helps.

Posts: 6652
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Help using broadcast commands

Thu Mar 15, 2018 2:15 pm

This physical computing page from the parents guide gives you an complete example of how to control a gpio pi for output in scratch.

https://projects.raspberrypi.org/en/pro ... -scratch/6

the following pages cover inputs as well.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Scratch”