From 959d70c940de28dbffa292ef3bad68db59faa727 Mon Sep 17 00:00:00 2001 From: Jens True Date: Wed, 5 Jan 2022 10:15:58 +0000 Subject: [PATCH] Extra details --- content/project/lednotifier/index.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/content/project/lednotifier/index.md b/content/project/lednotifier/index.md index 5778194..cda83cd 100644 --- a/content/project/lednotifier/index.md +++ b/content/project/lednotifier/index.md @@ -12,16 +12,17 @@ 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 | +| Field | Value | +|----------------|------------------| +| Vendor ID | 0x1294 | +| Product ID | 0x1320 | +| Product Name | EMAIL | +| Device Name | Webmail Notifier | +| Vendor | RISO KAGAKU CORP.| It enumerates as a USB HID device and supports a limited set of colors. @@ -40,5 +41,11 @@ 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) +Colors are not bit mapped and only values between 0x0 and 0x7 are supported. The first byte sent to the device does not appear to have any effect as is left as 0xFF. Drivers are not needed as this is a basic HID device. - +# TODO +- Basic pattern support (built from colors and durations) +- Decode the HID device description +- Better error handling +- Service/Daemon for background operation +- PWM (Low resolution considering the 1ms USB update frequency)