mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 11:37:44 +08:00
add bsp_spi
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
#ifndef WS2812_H
|
||||
#define WS2812_H
|
||||
|
||||
|
||||
#include "main.h"
|
||||
|
||||
|
||||
#define WS2812_SPI_UNIT hspi6
|
||||
#define WS2812_SPI_UNIT hspi6
|
||||
extern SPI_HandleTypeDef WS2812_SPI_UNIT;
|
||||
|
||||
void WS2812_Ctrl(uint8_t r, uint8_t g, uint8_t b);
|
||||
|
||||
Reference in New Issue
Block a user