Skip to main content

Meadow.Foundation.Grove.Leds.LEDSocket

LEDSocket
StatusStatus badge: working
Source codeGitHub
NuGet packageNuGet Gallery for Meadow.Foundation.Grove.Leds.LEDSocket

Code Example

LEDSocket led;

public override Task Initialize()
{
Resolver.Log.Info("Initialize...");

led = new LEDSocket(Device.Pins.D13);

return Task.CompletedTask;
}

public override Task Run()
{
led.StartBlink();

return Task.CompletedTask;
}

Sample project(s) available on GitHub

Wiring Example

LEDSocketMeadow Pin
GNDGND
VCC3.3V
RXD01
TXD00

Class LEDSocket

Represents an LED

Assembly: LEDSocket.dll
View Source
Declaration
public class LEDSocket : Led, ILed, IDisposable

Inheritance: System.Object -> Meadow.Foundation.Leds.Led

Implements:
Meadow.Peripherals.Leds.ILed, System.IDisposable

Implements

  • Meadow.Peripherals.Leds.ILed
  • System.IDisposable