Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sam-k0/blinkstick.netcore
Blinkstick client primarily developed for Linux
https://github.com/sam-k0/blinkstick.netcore
blinkstick blinkstick-sdk csharp led library
Last synced: 3 days ago
JSON representation
Blinkstick client primarily developed for Linux
- Host: GitHub
- URL: https://github.com/sam-k0/blinkstick.netcore
- Owner: sam-k0
- Created: 2024-05-11T14:28:16.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-12-24T11:43:40.000Z (11 days ago)
- Last Synced: 2024-12-24T12:49:38.231Z (11 days ago)
- Topics: blinkstick, blinkstick-sdk, csharp, led, library
- Language: C#
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## BlinkStick Utilities
- BlinkStickNETCore: Cross-platform .NET Core library for BlinkStick (Flex, Mini, Strip)
- BlinkStickLinux: Linux GUI using Gtk# for controlling BlinkStick devices
- BlinkStickCLI: CLI for controlling BlinkStick devices## BlinkStickNETCore
Usage:
```csharp
using BlinkStickNETCore;BlinkStickFlex bs = new BlinkStickFlex(); // Get your blinkstick device
bs.SetColor(0,0,[0xFF,0x00,0x00]); // Set color of first LED to red
var num = bs.GetNumLeds(); // Get number of LEDs
for (int i = 0; i < num; i++)
{
bs.SetColor(0,i,[0xFF,0x00,0x00]); // Set color of all LEDs to red
}```
### Building
Dependencies are:
- gtksharp (GUI)
- hidapi.net
- newtonsoft.json (GUI)Build release: `dotnet build -c Release`