Files
tronone-h7-scaffold/User_Code/module/periph/ws2812/ws2812.h

11 lines
186 B
C
Raw Normal View History

2025-11-03 22:14:44 +08:00
#ifndef WS2812_H
#define WS2812_H
#include "main.h"
2025-11-04 22:02:49 +08:00
#define WS2812_SPI_UNIT hspi6
2025-11-03 22:14:44 +08:00
extern SPI_HandleTypeDef WS2812_SPI_UNIT;
void WS2812_Ctrl(uint8_t r, uint8_t g, uint8_t b);
#endif