Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/* Underglow configuration
|
||||
*/
|
||||
#define RGB_DI_PIN E2
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"pin": "B6",
|
||||
"levels": 4
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E2"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B2",
|
||||
"on_state": 0
|
||||
|
@@ -12,5 +12,5 @@
|
||||
#define MOUSEKEY_WHEEL_MAX_SPEED 1
|
||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 255
|
||||
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN B2
|
||||
#undef WS2812_DI_PIN
|
||||
#define WS2812_DI_PIN B2
|
||||
|
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include "../../config.h"
|
||||
|
||||
// only change
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN B2
|
||||
#undef WS2812_DI_PIN
|
||||
#define WS2812_DI_PIN B2
|
||||
|
||||
#endif
|
||||
|
@@ -3,8 +3,8 @@
|
||||
#define BACKLIGHT_LEVELS 10
|
||||
|
||||
// Underlight configuration
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN B2
|
||||
#undef WS2812_DI_PIN
|
||||
#define WS2812_DI_PIN B2
|
||||
#undef RGBLED_NUM
|
||||
#define RGBLED_NUM 16 // Number of LEDs
|
||||
#undef RGBLIGHT_HUE_STEP
|
||||
|
Reference in New Issue
Block a user