Lights Class

Definition

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