RPi GPIO + Scratch 2.0

In this activity we will use Scratch 2.0 to light LED bulbs and sense a button push.

Begin by lighting a LED bulb with an always on 3.3 v pin and a resistor. If this isn’t working, check your connections or see the post on getting started with GPIO. Change the pin for the 3.3 volt to pin 17 on the GPIO board and open Scratch 2.0.  Follow the steps outlined below.

 

image_pdfGenerate PDFimage_printPrint
Posted in Curriculum, Raspberry Pi and tagged , , , , .

Leave a Reply