GoPiGo.SetLed(Byte, Color) Method
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.
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