Meadow.Foundation.Grove.Leds.LEDSocket
LEDSocket | |
---|---|
Status | |
Source code | GitHub |
NuGet package |
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
LEDSocket | Meadow Pin |
---|---|
GND | GND |
VCC | 3.3V |
RX | D01 |
TX | D00 |
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