1 What: /sys/class/leds/blink1::<serial>/rgb
3 Contact: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
4 Description: The ThingM blink1 is an USB RGB LED. The color notation is
5 3-byte hexadecimal. Read this attribute to get the last set
6 color. Write the 24-bit hexadecimal color to change the current
7 LED color. The default color is full white (0xFFFFFF).
8 For instance, set the color to green with: echo 00FF00 > rgb
10 What: /sys/class/leds/blink1::<serial>/fade
12 Contact: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
13 Description: This attribute allows to set a fade time in milliseconds for
14 the next color change. Read the attribute to know the current
15 fade time. The default value is set to 0 (no fade time). For
16 instance, set a fade time of 2 seconds with: echo 2000 > fade
18 What: /sys/class/leds/blink1::<serial>/play
20 Contact: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
21 Description: This attribute is used to play/pause the light patterns. Write 1
22 to start playing, 0 to stop. Reading this attribute returns the
23 current playing status.