Main Content

soc.sdk.LED Class

Namespace: soc.sdk

LED object on hardware board

Description

LED object that represents an LED on the hardware board.

Creation

Description

ledObj = soc.sdk.LED(Name) creates a new soc.sdk.LED object, with the Name property set to name.

Properties

expand all

Name of the LED, specified as a character vector.

Example: 'MyLED'

Attributes:

GetAccess
public
SetAccess
public

Data Types: char

Pin number of the LED.

Example: 22

Attributes:

GetAccess
public
SetAccess
public

Data Types: char

Configuration of LED where 1 is active high and 0 is active low.

Example: 0

Attributes:

GetAccess
public
SetAccess
public

Data Types: logical

Indicates the IO standard used by the LED, specified as a character vector.

Attributes:

GetAccess
public
SetAccess
public

Data Types: char

Version History

Introduced in R2019b