Lights Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the Explorer HAT led array
public class Lights : IDisposable, System.Collections.Generic.IEnumerable<Iot.Device.ExplorerHat.Led>
type Lights = class
interface IDisposable
interface seq<Led>
interface IEnumerable
Public Class Lights
Implements IDisposable, IEnumerable(Of Led)
- Inheritance
-
Lights
- Implements
Properties
Blue |
Blue led (#1) |
Four |
Green led (#4) |
Green |
Green led (#4) |
One |
Blue led (#1) |
Red |
Red led (#3) |
Three |
Red led (#3) |
Two |
Yellow led (#2) |
Yellow |
Yellow led (#2) |
Methods
Dispose() |
Disposes the Lights instance |
GetEnumerator() |
Returns an enumerator that iterates through the collection of leds |
Off() |
Switch off all led lights |
On() |
Switch on all led lights |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the collection of leds |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for