888 B
888 B
title | summary | date | categories | image | url_code | |||
---|---|---|---|---|---|---|---|---|
LED Notifier | Commandline app to change the color of a USB LED notifier. | 2022-01-04T20:56:05+02:00 |
|
|
https://github.com/furyfire/LEDNotifier |
LED Notifier
Setting the color of a simple USB LED Notifier. Implemented in C# and .NET 6.0
Device
The device itself was purchased years ago from a chinese site.
Field | Value |
---|---|
Vendor ID | 0x1294 |
Product ID | 0x1320 |
Product Name |
It enumerates as a USB HID device and supports a limited set of colors.
- Off
- Blue
- Red
- Green
- Aqua
- Purple
- Yellow
- White
Implementation
I opted to use C# for a basic Windows implementation.
- Using VS2022
- To interface with the HID device I used the HIDSharp library. (https://www.zer7.com/software/hidsharp)