* add lestmovoz * vial uid * lestmovoz compiles * cannot get these LEDs to work * oops added conf * working leds --------- Co-authored-by: avshockeyw <avshockeyw@users.noreply.github.com>
15 lines
338 B
C
15 lines
338 B
C
#pragma once
|
|
|
|
#include_next <mcuconf.h>
|
|
|
|
#undef STM32_PWM_USE_TIM1
|
|
#define STM32_PWM_USE_TIM1 TRUE
|
|
|
|
#define WS2812_PWM_DRIVER PWMD1
|
|
#define WS2812_PWM_CHANNEL 1
|
|
#define WS2812_PWM_PAL_MODE 2
|
|
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
|
|
#define WS2812_DMA_CHANNEL 5
|
|
|
|
#undef WS2812_BYTE_ORDER
|
|
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB |