mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-02 21:58:04 +06:00
12 lines
328 B
C
12 lines
328 B
C
|
// Copyright 2023 contact@vwolf.be
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
|
||
|
|
||
|
#define WS2812_PWM_DRIVER PWMD4
|
||
|
#define WS2812_PWM_CHANNEL 4
|
||
|
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6
|
||
|
#define WS2812_DMA_CHANNEL 2
|
||
|
#define WS2812_PWM_TARGET_PERIOD 800000
|