Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan
2023-06-18 14:39:07 +10:00
committed by GitHub
parent 7178645be7
commit b1783db4ea
2160 changed files with 2194 additions and 2058 deletions

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -18,6 +18,7 @@
"levels": 5
},
"rgblight": {
"led_count": 8,
"sleep": true
},
"ws2812": {

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -18,6 +18,7 @@
"levels": 5
},
"rgblight": {
"led_count": 6,
"sleep": true
},
"ws2812": {

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -23,6 +23,7 @@
"on_state": 0
},
"rgblight": {
"led_count": 8,
"sleep": true
},
"ws2812": {

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -22,6 +22,7 @@
"on_state": 0
},
"rgblight": {
"led_count": 8,
"sleep": true
},
"ws2812": {

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 16
//#define RGBLIGHT_HUE_STEP 8
//#define RGBLIGHT_SAT_STEP 8
//#define RGBLIGHT_VAL_STEP 8

View File

@@ -16,6 +16,9 @@
"backlight": {
"pin": "D4"
},
"rgblight": {
"led_count": 16
},
"ws2812": {
"driver": "i2c"
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 5
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -24,6 +24,7 @@
"pin": "E2"
},
"rgblight": {
"led_count": 5,
"max_brightness": 200,
"sleep": true
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 5
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -20,6 +20,7 @@
"pin": "E2"
},
"rgblight": {
"led_count": 5,
"max_brightness": 200,
"sleep": true
},