summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic/bm16a/v2/config.h
blob: f4ac9e7a3b8f3669467d21b181c3f5232c1a2f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2022 fauxpark (@fauxpark)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define RGB_DI_PIN B9
#define RGB_MATRIX_LED_COUNT 16

#define WS2812_PWM_DRIVER PWMD4
#define WS2812_PWM_CHANNEL 4
#define WS2812_DMA_STREAM STM32_DMA1_STREAM7
#define WS2812_DMA_CHANNEL 7