WMCommonsRaspberryPi4.jpg This feature is only available on the Raspberry Pi version of Scratch 3.0. No other version has it.
Turn LED () ()
turn LED (0 v) [on v] :: extension
Category Raspberry Pi Simple Electronics
Type Stack
Introduced in 3.0

The turn LED () () block is a Raspberry Pi Simple Electronics block and a stack block. Its options are the numbers 0 thru 27 for the first input, with each number representing a GPIO pin. The second options are "on" and "off". The block turns the specified LED on or off, depending on the input.