← 返回命令列表

Linux command

blink 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

blink1-tool --red

Example

blink1-tool --rgb [ff00ff]

Blink

blink1-tool --blink [3]

Fade

blink1-tool --rgb [00ff00] --fade [500]

Turn off

blink1-tool --off

Example

blink1-tool --play [1]

Example

blink1-tool --list

说明

blink1-tool is the command-line interface for controlling blink(1) USB RGB LED indicator lights made by ThingM. It can set colors, create blink patterns, fade between colors, and manage stored light patterns on the device. The blink(1) device is a small USB dongle containing a programmable RGB LED. It is commonly used for build status indicators, notification lights, ambient information displays, and visual alerts triggered by scripts or monitoring systems. The tool communicates directly with the blink(1) hardware over USB HID, requiring no special drivers. Multiple devices can be addressed independently.

参数

--rgb _RRGGBB_
Set color by hex RGB value.
--red
Set LED to red.
--green
Set LED to green.
--blue
Set LED to blue.
--off
Turn off the LED.
--blink _N_
Blink the LED _N_ times.
--fade _MILLIS_
Fade to color over _MILLIS_ milliseconds.
--play _N_
Play stored pattern _N_.
--list
List connected blink(1) devices.
--savergb _RRGGBB_,_POS_
Save RGB color to position in pattern.
--savepattern
Save the current pattern to the device.
-l _N_, --led _N_
Select which LED to address (0=all, 1=top, 2=bottom) on blink(1) mk2+.
-q, --quiet
Suppress output.

FAQ

What is the blink command used for?

blink1-tool is the command-line interface for controlling blink(1) USB RGB LED indicator lights made by ThingM. It can set colors, create blink patterns, fade between colors, and manage stored light patterns on the device. The blink(1) device is a small USB dongle containing a programmable RGB LED. It is commonly used for build status indicators, notification lights, ambient information displays, and visual alerts triggered by scripts or monitoring systems. The tool communicates directly with the blink(1) hardware over USB HID, requiring no special drivers. Multiple devices can be addressed independently.

How do I run a basic blink example?

Run `blink1-tool --red` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --rgb _RRGGBB_ do in blink?

Set color by hex RGB value.