pacebrian0
Posts: 1
Joined: Fri Apr 02, 2021 6:12 pm

Scratch3 GPIO input

Fri Apr 02, 2021 6:15 pm

Hi all,

I would like to hook up a sensor to Scratch 3. I checked the GPIO plugins, however, it is mainly used for output and conditions.

Is there a way I can read a stream of data from a sensor using Scratch3?

MiscBits
Posts: 98
Joined: Wed Jan 27, 2021 12:48 pm

Re: Scratch3 GPIO input

Sat Apr 03, 2021 10:51 pm

I think you will struggle as the data could be any format.

If you have time to handle many blocks and check for high/low then possibly https://mryslab.github.io/s3-extend/rpi ... ad-digital will help?

Maybe https://edublocks.org/ or https://2simple.com/pythoninpieces/pyth ... ome-users/ could be a better platform if you do not want to dive into raw Python or C.

Return to “Scratch”