Main Content

LED

Illuminate built-in LED

Add-On Required: This feature requires the Embedded Coder Support Package for BeagleBone Black Hardware add-on.

Description

Use this block to illuminate one of the user-controllable LEDs on the target hardware. The block input takes a Boolean value:

  • 0 turns the LED off.

  • 1 turns the LED on.

Click View LED location to see a diagram of the user-controllable LEDs on your target hardware. Use the LED parameter to select a specific LED.

  • LED block

Parameters

LED

After selecting the Board, select the LED. Do not use the same LED in multiple blocks within a model.

To see the locations of the LED on the target hardware, click View LED location. You can print the LED Locations diagram for reference.

Version History

Introduced in R2014b