diff options
author | Ryan <[email protected]> | 2023-04-06 18:00:54 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-06 18:00:54 +1000 |
commit | 47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch) | |
tree | d2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/kb_elmo | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) | |
download | qmk_firmware-47966dc2a65c88ac90fcd64d12243d72f3f6753b.tar.gz qmk_firmware-47966dc2a65c88ac90fcd64d12243d72f3f6753b.zip |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/kb_elmo')
-rw-r--r-- | keyboards/kb_elmo/isolation/config.h | 1 | ||||
-rw-r--r-- | keyboards/kb_elmo/isolation/info.json | 3 | ||||
-rw-r--r-- | keyboards/kb_elmo/noah_avr/config.h | 1 | ||||
-rw-r--r-- | keyboards/kb_elmo/noah_avr/info.json | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/kb_elmo/isolation/config.h b/keyboards/kb_elmo/isolation/config.h index 4cf7eed2cd..0299a8ab1f 100644 --- a/keyboards/kb_elmo/isolation/config.h +++ b/keyboards/kb_elmo/isolation/config.h @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once /* RGB backlight */ -#define RGB_DI_PIN B2 # define RGBLED_NUM 3 # define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/kb_elmo/isolation/info.json b/keyboards/kb_elmo/isolation/info.json index 6d108299d0..6b7f531eda 100644 --- a/keyboards/kb_elmo/isolation/info.json +++ b/keyboards/kb_elmo/isolation/info.json @@ -8,6 +8,9 @@ "pid": "0x4EE6", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B2" + }, "processor": "atmega328p", "bootloader": "usbasploader", "matrix_pins": { diff --git a/keyboards/kb_elmo/noah_avr/config.h b/keyboards/kb_elmo/noah_avr/config.h index 6aafdcded9..08501c982b 100644 --- a/keyboards/kb_elmo/noah_avr/config.h +++ b/keyboards/kb_elmo/noah_avr/config.h @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once /* RGB */ -#define RGB_DI_PIN B5 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/kb_elmo/noah_avr/info.json b/keyboards/kb_elmo/noah_avr/info.json index cd8e087387..8db5edb6b6 100644 --- a/keyboards/kb_elmo/noah_avr/info.json +++ b/keyboards/kb_elmo/noah_avr/info.json @@ -8,6 +8,9 @@ "pid": "0x1DB0", "device_version": "0.0.1" }, + "ws2812": { + "pin": "B5" + }, "matrix_pins": { "cols": ["D1", "D2", "D3", "D4", "C6", "C7", "F7", "F6", "F5", "F4", "F0", "F1", "B3", "B2", "B1", "B0"], "rows": ["B4", "B6", "D7", "D5", "D0"] |