diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-06 18:00:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 18:00:54 +1000 |
commit | 47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch) | |
tree | d2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/planck | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/planck')
-rw-r--r-- | keyboards/planck/keymaps/experimental/config.h | 2 | ||||
-rw-r--r-- | keyboards/planck/keymaps/myoung34/config.h | 2 | ||||
-rw-r--r-- | keyboards/planck/rev6/config.h | 1 | ||||
-rw-r--r-- | keyboards/planck/rev6/info.json | 1 | ||||
-rw-r--r-- | keyboards/planck/rev6_drop/config.h | 1 | ||||
-rw-r--r-- | keyboards/planck/rev6_drop/info.json | 1 |
6 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/planck/keymaps/experimental/config.h b/keyboards/planck/keymaps/experimental/config.h index 450addbd99..9ee7d9fac4 100644 --- a/keyboards/planck/keymaps/experimental/config.h +++ b/keyboards/planck/keymaps/experimental/config.h @@ -7,7 +7,7 @@ #define BACKLIGHT_BREATHING /* ws2812 RGB LED */ -#define RGB_DI_PIN B1 +#define WS2812_DI_PIN B1 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/planck/keymaps/myoung34/config.h b/keyboards/planck/keymaps/myoung34/config.h index 92ad42f0fa..f69cb62280 100644 --- a/keyboards/planck/keymaps/myoung34/config.h +++ b/keyboards/planck/keymaps/myoung34/config.h @@ -39,7 +39,7 @@ /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ //#define MIDI_TONE_KEYCODE_OCTAVES 2 -#define RGB_DI_PIN B2 // The pin the LED strip is connected to (PB2 by default) +#define WS2812_DI_PIN B2 // The pin the LED strip is connected to (PB2 by default) #define RGBLED_NUM 3 // Number of LEDs in your strip #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h index 5bde659509..1d029dae69 100644 --- a/keyboards/planck/rev6/config.h +++ b/keyboards/planck/rev6/config.h @@ -45,7 +45,6 @@ /* * WS2812 Underglow Matrix options */ -#define RGB_DI_PIN A1 #define RGBLED_NUM 9 #define RGB_MATRIX_LED_COUNT RGBLED_NUM diff --git a/keyboards/planck/rev6/info.json b/keyboards/planck/rev6/info.json index 505990904e..40af6bd442 100644 --- a/keyboards/planck/rev6/info.json +++ b/keyboards/planck/rev6/info.json @@ -9,6 +9,7 @@ "device_version": "0.0.6" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/planck/rev6_drop/config.h b/keyboards/planck/rev6_drop/config.h index 296e1ac6d9..ff15e9628d 100644 --- a/keyboards/planck/rev6_drop/config.h +++ b/keyboards/planck/rev6_drop/config.h @@ -46,7 +46,6 @@ /* * WS2812 Underglow Matrix options */ -#define RGB_DI_PIN A1 #define RGBLED_NUM 9 #define RGB_MATRIX_LED_COUNT RGBLED_NUM diff --git a/keyboards/planck/rev6_drop/info.json b/keyboards/planck/rev6_drop/info.json index 9581cb6b09..a759ada42b 100644 --- a/keyboards/planck/rev6_drop/info.json +++ b/keyboards/planck/rev6_drop/info.json @@ -9,6 +9,7 @@ "device_version": "0.0.6" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { |