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/hadron | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/hadron')
-rw-r--r-- | keyboards/hadron/ver2/config.h | 1 | ||||
-rw-r--r-- | keyboards/hadron/ver2/info.json | 3 | ||||
-rw-r--r-- | keyboards/hadron/ver3/config.h | 1 | ||||
-rw-r--r-- | keyboards/hadron/ver3/info.json | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/hadron/ver2/config.h b/keyboards/hadron/ver2/config.h index d897f2840d..7b7acf32b6 100644 --- a/keyboards/hadron/ver2/config.h +++ b/keyboards/hadron/ver2/config.h @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define OLED_UPDATE_INTERVAL 33 // ~30fps /* ws2812 RGB LED*/ -#define RGB_DI_PIN D4 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/hadron/ver2/info.json b/keyboards/hadron/ver2/info.json index 0c4d8c6820..612d3af50a 100644 --- a/keyboards/hadron/ver2/info.json +++ b/keyboards/hadron/ver2/info.json @@ -7,6 +7,9 @@ "rows": ["D7", "E6", "B4", "B5", "B6"] }, "diode_direction": "COL2ROW", + "ws2812": { + "pin": "D4" + }, "processor": "atmega32u4", "bootloader": "halfkay" } diff --git a/keyboards/hadron/ver3/config.h b/keyboards/hadron/ver3/config.h index 69aede865f..02e4116bb6 100644 --- a/keyboards/hadron/ver3/config.h +++ b/keyboards/hadron/ver3/config.h @@ -119,7 +119,6 @@ #define RGBLIGHT_EFFECT_TWINKLE #define RGBLED_NUM 10 -#define RGB_DI_PIN B5 #define RGB_MATRIX_LED_COUNT RGBLED_NUM // #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/hadron/ver3/info.json b/keyboards/hadron/ver3/info.json index dbe98c593c..cb2654387b 100644 --- a/keyboards/hadron/ver3/info.json +++ b/keyboards/hadron/ver3/info.json @@ -12,6 +12,9 @@ {"pin_a": "B13", "pin_b": "B14"} ] }, + "ws2812": { + "pin": "B5" + }, "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C" |