todbot / blink1

Official software for blink(1) USB RGB LED by ThingM
https://blink1.thingm.com/
Other
953 stars 237 forks source link

What's the `Set ledn` for? #673

Closed ACHIJO closed 11 months ago

ACHIJO commented 11 months ago

In HID command https://github.com/todbot/blink1/blob/main/docs/blink1-hid-commands.md

We got Set ledn:

- Set ledn                format: { 1, 'l', n,0,0,       0,0, 0 } (2+)

In blink1-tool https://github.com/todbot/blink1-tool , we got ledn as well:

{"ledn",       required_argument, 0,      'l'},

So what's the command for? I tried to use it, but it seems not working.

todbot commented 11 months ago

Hi! "ledn" is "n", aka is which LED to change. The valid values are: 0= all LEDs, 1=led#1, 2=led#2, etc.