This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Use the Raspberry Pi™’s LED


raspiConnection to Raspberry Pi board


writeLEDTurn LED on or off
showLEDsShow location, name, and color of user-controllable LEDs

Examples and How To

Turn the Raspberry Pi LED On and Off

Control the LED on Raspberry Pi Hardware

Flash the Raspberry Pi LED in Response to an Input

Flash the LED on Raspberry Pi Hardware


The Raspberry Pi LED

LEDs on Raspberry Pi Hardware