Property | Type | Description | |
---|---|---|---|
connectedToDriver | bool |
Method | Description | |
---|---|---|
Blink ( |
Blink the LED.
|
|
Blink ( byte channel, byte index, |
Blink the LED on BlinkStick Pro.
|
|
Blink ( byte channel, byte index, byte r, byte g, byte b, int repeats = 1, int delay = 500 ) : void |
Blink the LED on BlinkStick Pro.
|
|
Blink ( byte r, byte g, byte b, int repeats = 1, int delay = 500 ) : void |
Blink the LED.
|
|
Blink ( byte channel, byte index, string color, int repeats = 1, int delay = 500 ) : void |
Blink the LED on BlinkStick Pro.
|
|
Blink ( string color, int repeats = 1, int delay = 500 ) : void |
Blink the LED.
|
|
BlinkStick ( ) : System |
Initializes a new instance of the BlinkStick class.
|
|
BlinkStickDeviceFromSerial ( string serial ) : BlinkStickDeviceEnum | ||
CloseDevice ( ) : void |
Closes the connection to the device.
|
|
Dispose ( ) : void |
Disposes of the device and closes the connection.
|
|
Enable ( ) : void | ||
FindAll ( ) : BlinkStickDotNet.BlinkStick[] |
Find all BlinkStick devices.
|
|
FindBySerial ( String serial ) : |
Finds BlinkStick by serial number.
|
|
FindFirst ( ) : |
Find first BlinkStick.
|
|
GetColor ( byte &r, byte &g, byte &b ) : System.Boolean |
Gets the color of the led.
|
|
GetColor ( byte index, byte &r, byte &g, byte &b ) : System.Boolean |
Gets the color of the led.
|
|
GetColors ( byte &colorData ) : System.Boolean |
Gets led data.
|
|
GetInfoBlock ( byte id, byte &data ) : System.Boolean |
Gets the info block.
|
|
GetLedCount ( ) : int | ||
GetMode ( ) : int |
Gets the mode on BlinkStick Pro.
|
|
Morph ( |
Morph from current color to new color.
|
|
Morph ( byte channel, byte index, |
Morph from current color to new color on BlinkStick Pro.
|
|
Morph ( byte channel, byte index, byte r, byte g, byte b, int duration = 1000, int steps = 50 ) : void |
Morph from current color to new color on BlinkStick Pro.
|
|
Morph ( byte r, byte g, byte b, int duration = 1000, int steps = 50 ) : void |
Morph from current color to new color.
|
|
Morph ( byte channel, byte index, string color, int duration = 1000, int steps = 50 ) : void |
Morph from current color to new color on BlinkStick Pro.
|
|
Morph ( string color, int duration = 1000, int steps = 50 ) : void |
Morph from current color to new color.
|
|
OnReceiveColor ( byte index, byte &r, byte &g, byte &b ) : System.Boolean | ||
OnSendColor ( byte channel, byte index, byte r, byte g, byte b ) : System.Boolean | ||
OpenDevice ( ) : bool |
Attempts to connect to a BlinkStick device. After a successful connection, a DeviceAttached event will normally be sent.
|
|
OpenDevice ( |
Opens the device.
|
|
Pulse ( |
Pulse specified color.
|
|
Pulse ( byte channel, byte index, |
Pulse specified color on BlinkStick Pro.
|
|
Pulse ( byte channel, byte index, byte r, byte g, byte b, int repeats = 1, int duration = 1000, int steps = 50 ) : void |
Pulse specified color on BlinkStick Pro.
|
|
Pulse ( byte r, byte g, byte b, int repeats = 1, int duration = 1000, int steps = 50 ) : void |
Pulse specified color.
|
|
Pulse ( byte channel, byte index, string color, int repeats = 1, int duration = 1000, int steps = 50 ) : void |
Pulse specified color on BlinkStick Pro.
|
|
Pulse ( string color, int repeats = 1, int duration = 1000, int steps = 50 ) : void |
Pulse specified color.
|
|
SetColor ( |
Sets the color of the led.
|
|
SetColor ( String color ) : void |
Sets the color of the led.
|
|
SetColor ( byte channel, byte index, |
Sets the color of the led.
|
|
SetColor ( byte r, byte g, byte b ) : void |
Sets the color of the led.
|
|
SetColor ( byte channel, byte index, byte r, byte g, byte b ) : void |
Sets the color of the led.
|
|
SetColor ( byte channel, byte index, string color ) : void |
Sets the color of the led.
|
|
SetColors ( byte channel, byte colorData ) : void |
Send a packet of data to LEDs
|
|
SetLedCount ( byte count ) : void | ||
SetMode ( byte mode ) : void |
Sets the mode for BlinkStick Pro.
|
|
Stop ( ) : void | ||
TurnOff ( ) : void |
Turn BlinkStick off.
|
|
WaitThread ( long milliseconds ) : System.Boolean |
Method | Description | |
---|---|---|
SetInfoBlock ( byte id, byte data ) : void |
Method | Description | |
---|---|---|
CheckRequiresSoftwareColorPatch ( ) : void |
Checks if BlinkStick requires software color patch due to hardware bug.
|
|
Dispose ( bool disposing ) : void |
Closes any connected devices.
|
|
GetFeature ( byte buffer ) : void | ||
GetInfoBlock ( byte id, string &data ) : System.Boolean | ||
InternalSetColor ( byte channel, byte index, byte r, byte g, byte b ) : void |
Automatically sets the color of the device using either BlinkStick or BlinkStick Pro API
|
|
OpenCurrentDevice ( ) : bool |
Opens the current device.
|
|
SetFeature ( byte buffer ) : void | ||
SetInfoBlock ( byte id, string data ) : void |
Sets the info block.
|
public Blink ( |
||
color | Must be in #rrggbb format or named color ("red", "green", "blue") | |
repeats | int | How many times to repeat (default 1) |
delay | int | Delay delay between on/off sequences (default 500) |
return | void |
public Blink ( byte channel, byte index, |
||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
color | Color parameter as RgbColor class instance | |
repeats | int | How many times to repeat (default 1) |
delay | int | Delay delay between on/off sequences (default 500) |
return | void |
public Blink ( byte channel, byte index, byte r, byte g, byte b, int repeats = 1, int delay = 500 ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
repeats | int | How many times to repeat (default 1) |
delay | int | Delay delay between on/off sequences (default 500) |
return | void |
public Blink ( byte r, byte g, byte b, int repeats = 1, int delay = 500 ) : void | ||
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
repeats | int | How many times to repeat (default 1) |
delay | int | Delay delay between on/off sequences (default 500) |
return | void |
public Blink ( byte channel, byte index, string color, int repeats = 1, int delay = 500 ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
color | string | Must be in #rrggbb format or named color ("red", "green", "blue") |
repeats | int | How many times to repeat (default 1) |
delay | int | Delay delay between on/off sequences (default 500) |
return | void |
public Blink ( string color, int repeats = 1, int delay = 500 ) : void | ||
color | string | Must be in #rrggbb format or named color ("red", "green", "blue") |
repeats | int | How many times to repeat (default 1) |
delay | int | Delay delay between on/off sequences (default 500) |
return | void |
public static BlinkStickDeviceFromSerial ( string serial ) : BlinkStickDeviceEnum | ||
serial | string | |
return | BlinkStickDeviceEnum |
public static FindAll ( ) : BlinkStickDotNet.BlinkStick[] | ||
return | BlinkStickDotNet.BlinkStick[] |
public static FindBySerial ( String serial ) : |
||
serial | String | Serial number to search for |
return |
public GetColor ( byte &r, byte &g, byte &b ) : System.Boolean | ||
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
return | System.Boolean |
public GetColor ( byte index, byte &r, byte &g, byte &b ) : System.Boolean | ||
index | byte | |
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
return | System.Boolean |
public GetColors ( byte &colorData ) : System.Boolean | ||
colorData | byte | |
return | System.Boolean |
public GetInfoBlock ( byte id, byte &data ) : System.Boolean | ||
id | byte | Identifier. |
data | byte | Data. |
return | System.Boolean |
public Morph ( |
||
color | Must be in #rrggbb format or named color ("red", "green", "blue") | |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Morph ( byte channel, byte index, |
||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
color | Color parameter as RgbColor class instance | |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Morph ( byte channel, byte index, byte r, byte g, byte b, int duration = 1000, int steps = 50 ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Morph ( byte r, byte g, byte b, int duration = 1000, int steps = 50 ) : void | ||
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Morph ( byte channel, byte index, string color, int duration = 1000, int steps = 50 ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
color | string | Must be in #rrggbb format or named color ("red", "green", "blue") |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Morph ( string color, int duration = 1000, int steps = 50 ) : void | ||
color | string | Must be in #rrggbb format or named color ("red", "green", "blue") |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public OnReceiveColor ( byte index, byte &r, byte &g, byte &b ) : System.Boolean | ||
index | byte | |
r | byte | |
g | byte | |
b | byte | |
return | System.Boolean |
public OnSendColor ( byte channel, byte index, byte r, byte g, byte b ) : System.Boolean | ||
channel | byte | |
index | byte | |
r | byte | |
g | byte | |
b | byte | |
return | System.Boolean |
public OpenDevice ( |
||
adevice | Pass the parameter of HidDevice to open it directly | |
return | bool |
public Pulse ( |
||
color | Must be in #rrggbb format or named color ("red", "green", "blue") | |
repeats | int | |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Pulse ( byte channel, byte index, |
||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
color | Color parameter as RgbColor class instance | |
repeats | int | |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Pulse ( byte channel, byte index, byte r, byte g, byte b, int repeats = 1, int duration = 1000, int steps = 50 ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
repeats | int | |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Pulse ( byte r, byte g, byte b, int repeats = 1, int duration = 1000, int steps = 50 ) : void | ||
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
repeats | int | |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Pulse ( byte channel, byte index, string color, int repeats = 1, int duration = 1000, int steps = 50 ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
color | string | Must be in #rrggbb format or named color ("red", "green", "blue") |
repeats | int | |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public Pulse ( string color, int repeats = 1, int duration = 1000, int steps = 50 ) : void | ||
color | string | Must be in #rrggbb format or named color ("red", "green", "blue") |
repeats | int | |
duration | int | How long should the morph last |
steps | int | How many steps for color changes |
return | void |
public SetColor ( |
||
color | Color as RgbColor class. | |
return | void |
public SetColor ( String color ) : void | ||
color | String | Must be in #rrggbb format |
return | void |
public SetColor ( byte channel, byte index, |
||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
color | Color parameter as RgbColor class instance | |
return | void |
public SetColor ( byte r, byte g, byte b ) : void | ||
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
return | void |
public SetColor ( byte channel, byte index, byte r, byte g, byte b ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
r | byte | The red component. |
g | byte | The green component. |
b | byte | The blue component. |
return | void |
public SetColor ( byte channel, byte index, string color ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
index | byte | Index of the LED |
color | string | Must be in #rrggbb format or named color ("red", "green", "blue") |
return | void |
public SetColors ( byte channel, byte colorData ) : void | ||
channel | byte | Channel (0 - R, 1 - G, 2 - B) |
colorData | byte | |
return | void |
protected SetInfoBlock ( byte id, byte data ) : void | ||
id | byte | |
data | byte | |
return | void |
public SetMode ( byte mode ) : void | ||
mode | byte | 0 - Normal, 1 - Inverse, 2 - WS2812 |
return | void |
public WaitThread ( long milliseconds ) : System.Boolean | ||
milliseconds | long | |
return | System.Boolean |