1
0

Added LEDNotifier to list projects
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jens True 2022-01-05 09:25:53 +00:00
parent a0bb7f4fee
commit ac61cde5d2
3 changed files with 45 additions and 0 deletions

1
.gitignore vendored

@ -7,3 +7,4 @@ public/
assets/jsconfig.json assets/jsconfig.json
_vendor _vendor
.hugo_build.lock .hugo_build.lock
hugo

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

@ -0,0 +1,44 @@
---
title: "LED Notifier"
summary: "Commandline app to change the color of a USB LED notifier."
date: 2022-01-04T20:56:05+02:00
categories: ["C#"]
image:
preview_only: false
url_code: "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 | EMAIL |
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)