Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)

This commit is contained in:
Ryan
2023-04-06 18:00:54 +10:00
committed by GitHub
parent 71c22a12db
commit 47966dc2a6
2600 changed files with 4027 additions and 1909 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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