soc.sdk.LED Class
Namespace: soc.sdk
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
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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)