Edit

Share via


GoPiGo.SetLed(Byte, Color) Method

Definition

Set the led color

public void SetLed (byte led, System.Drawing.Color ledColor);
member this.SetLed : byte * System.Drawing.Color -> unit
Public Sub SetLed (led As Byte, ledColor As Color)

Parameters

led
Byte

The led, either Left, Right, Blinky Left, Blinky Right and Wifi. Note you should only control the wifi one if you are sure to be connected to wifi

ledColor
Color

The Color of the led

Applies to