Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm playing with my new blink(1), and trying to hook it's command line interface into some of my programs, but the docs are a little limited and I'm struggling to figure out how to run even some seemingly simple commands.

In particular, the CLI docs say:

  blink1-tool <cmd> [options]
where <cmd> is one of:
  --blink <numtimes>          Blink on/off

So I try to run blink1-tool --blink 5 and it outputs blink 5 times rgb:0,0,0: and doesn't light up.

How do I use the --blink command?

share|improve this question

migrated from Dec 13 '12 at 6:56

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

I suspect the fact that blink1-tool --blink 5 doesn't do anything is a bug. Originally --blink just blinked white, but a recent fix allows you to specify the color to blink (the usage script hasn't been updated yet).

The correct syntax for --blink is now:

blink1-tool [options] --rgb r,g,b --blink num

Note that [options] come before <cmd> despite the message in the usage script.

For example, to blink purple on for a second, off for a second, taking a fifth of a second to transition, you would run:

blink1-tool -t 1000 -m 200 --rgb 255,0,255 --blink 5
share|improve this answer

Be sure to set the --rgb switch before --blink

This is valid:

blink1-tool -t 1000 -m200 --rgb 255,0,255 --blink 5

This is not valid:

blink1-tool -t 1000 -m200 --blink 5 --rgb 255,0,255

share|improve this answer
Correct. Despite the -- notation suggesting order-independence, --rgb must come before --blink. – dimo414 Dec 15 '12 at 17:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.