16 lines
384 B
C
16 lines
384 B
C
|
// Copyright 2023 Maria (@toril940)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define WS2812_EXTERNAL_PULLUP
|
||
|
|
||
|
#define WS2812_PWM_DRIVER PWMD17
|
||
|
#define WS2812_PWM_CHANNEL 1
|
||
|
#define WS2812_DMA_STREAM STM32_DMA1_STREAM1
|
||
|
#define WS2812_DMA_CHANNEL 1
|
||
|
// #define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM17_UP
|
||
|
|
||
|
#define INDICATOR_0 C9
|
||
|
#define INDICATOR_1 C8
|
||
|
#define INDICATOR_2 C7
|