Skip to content

Commit c558697

Browse files
authored
Docs: Document RGBW LED control
1 parent aa0a1d1 commit c558697

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/plasma.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ Set the first LED - `0` - to Purple `255, 0, 255`:
7979
led_strip.set_rgb(0, 255, 0, 255)
8080
```
8181

82+
#### RGBW
83+
84+
If you're using RGBW LEDs with a seperate white element you can supply this as an additional argument, as so:
85+
86+
```python
87+
led_strip.set_rgb(0, 255, 0, 255, 255)
88+
```
89+
8290
#### HSV
8391

8492
Set the first LED - `0` - to Red `0.0`:
@@ -120,6 +128,14 @@ Set the first LED - `0` - to Purple `255, 0, 255`:
120128
led_strip.set_rgb(0, 255, 0, 255)
121129
```
122130

131+
#### RGBW
132+
133+
If you're using RGBW LEDs with a seperate white element you can supply this as an additional argument, as so:
134+
135+
```python
136+
led_strip.set_rgb(0, 255, 0, 255, 255)
137+
```
138+
123139
#### HSV
124140

125141
Set the first LED - `0` - to Red `0.0`:

0 commit comments

Comments
 (0)