WMCommonsRaspberryPi4.jpg This feature is only available on the Raspberry Pi version of Scratch 3.0. No other version has it.


Toggle LED ()
toggle LED (0 v) :: extension
Category Raspberry Pi Simple Electronics
Type Stack
Introduced in 3.0

The toggle LED () block is a Raspberry Pi Simple Electronics block and a stack block. Its options are the numbers 0 through 27 for the first input, with each number representing a GPIO pin. The toggles the specified LED, turning it off if it was on before and vice versa.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.