From f1bce8fdbdaf4d5c7222aee444246e0c4544a474 Mon Sep 17 00:00:00 2001 From: DonutCables Date: Sun, 16 May 2021 00:49:24 -0400 Subject: [PATCH] Update docs/rgb.md for config clarity --- docs/rgb.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/rgb.md b/docs/rgb.md index a5c2b62..f21b4c8 100644 --- a/docs/rgb.md +++ b/docs/rgb.md @@ -42,6 +42,8 @@ Changing the **Value** sets the overall brightness. ## Configuration |Define |Default |Description | |-------------------------------------|-------------|-----------------------------------------------------------------------------| +|`keyboard.pixel_pin` | |The pin connected to the data pin of the LEDs| +|`keyboard.num_pixels`| |The number of LEDs connected | |`keyboard.rgb_config['rgb_order']` |`(1, 0, 2)` |The order of the pixels R G B, and optionally white. Example(1, 0, 2, 3) | |`keyboard.rgb_config['hue_step']` |`10` |The number of steps to cycle through the hue by | |`keyboard.rgb_config['sat_step']` |`17` |The number of steps to change the saturation by | @@ -142,8 +144,3 @@ If your colors are incorrect, check the pixel order of your specific LED's. Here ### Lights don't turn on Make sure that your board supports LED backlight by checking for a line with "PIXEL_PIN". If it does not, you can add it to your keymap. If you added the LED's yourself, you will also need to set num_pixels to the number of installed LED's in total. - -|Define |Description | -|---------------------|---------------------------------------------| -|`keyboard.pixel_pin` |The pin connected to the data pin of the LEDs| -|`keyboard.num_pixels`|The number of LEDs connected |