Main Content

Status Light

Control status light on EV3 brick

Add-On Required: This feature requires the Simulink Support Package for LEGO MINDSTORMS EV3 Hardware add-on.

  • Lego Status Light block

Libraries:
Simulink Support Package for LEGO MINDSTORMS EV3 Hardware

Description

Use the Status Light block to control the color and effect of the status light behind the buttons on the EV3 brick.

During simulations without hardware, this block emits zeros. See Block Produces Zeros or Does Nothing in Simulation.

Ports

Input

expand all

The block inputs these values to set the status light of the EV3 brick buttons.

  • 0 — Off

  • 1 — Set the status light color of the EV3 brick to solid green.

  • 2 — Set the status light color of the EV3 brick to solid red.

  • 3 — Set the status light color of the EV3 brick to solid orange.

  • 4 — Set the status light color of the EV3 brick to pulsing green.

  • 5 — Set the status light color of the EV3 brick to pulsing red.

  • 6 — Set the status light color of the EV3 brick to pulsing orange.

  • Other values — Off

This block converts the data type of the values it receives. You do not need to convert the data type of the input signal.

Data Types: int8

Version History

Introduced in R2014b