Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
parent
7178645be7
commit
b1783db4ea
2160 changed files with 2194 additions and 2058 deletions
|
|
@ -33,5 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 5
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 5,
|
||||
"max_brightness": 128
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
|||
|
|
@ -33,5 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 8
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8,
|
||||
"max_brightness": 128
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
|||
|
|
@ -33,5 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 11
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 11,
|
||||
"max_brightness": 128
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
|||
|
|
@ -33,5 +33,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 12
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12,
|
||||
"max_brightness": 128
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
//#define DIODE_DIRECTION
|
||||
|
||||
#define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255}
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGBLED_NUM 15 // Number of LEDs
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@
|
|||
"driver": "custom",
|
||||
"levels": 10
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 15
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 8 // Number of LEDs
|
||||
#endif
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x6969",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue