Fix WS2812 order for aurora65 and loki65 (#18074)
parent
2f4ad40561
commit
c834608a74
|
@ -39,6 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define WS2812_PWM_COMPLEMENTARY_OUTPUT
|
#define WS2812_PWM_COMPLEMENTARY_OUTPUT
|
||||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
|
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
|
||||||
#define WS2812_DMA_CHANNEL 5
|
#define WS2812_DMA_CHANNEL 5
|
||||||
|
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
|
||||||
|
|
||||||
#define RGB_DI_PIN B15
|
#define RGB_DI_PIN B15
|
||||||
#define RGBLED_NUM 36
|
#define RGBLED_NUM 36
|
||||||
|
|
|
@ -44,7 +44,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define WS2812_PWM_CHANNEL 2
|
#define WS2812_PWM_CHANNEL 2
|
||||||
#define WS2812_PWM_PAL_MODE 2
|
#define WS2812_PWM_PAL_MODE 2
|
||||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
|
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
|
||||||
#define WS2812_DMA_CHANNEL 5
|
#define WS2812_DMA_CHANNEL 5
|
||||||
|
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
|
||||||
|
|
||||||
#define RGB_DI_PIN A9
|
#define RGB_DI_PIN A9
|
||||||
#define RGBLED_NUM 37
|
#define RGBLED_NUM 37
|
||||||
|
|
Loading…
Reference in New Issue