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
creates a new ledObj
= soc.sdk.LED(Name
)soc.sdk.LED
object, with the Name
property set to name
.
Properties
Name
— Name of the LED
character vector
Name of the LED, specified as a character vector.
Example: 'MyLED'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
Pin
— Pin number of the LED
0
(default) | nonnegative scalar
Pin number of the LED.
Example: 22
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
ActiveHigh
— LED set to active high
1
(default) | 0
Configuration of LED where 1
is active high and
0
is active low.
Example: 0
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: logical
IOStandard
— IO standard used by LED
''
(default) | character vector
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
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)