From cbc8875f9b4773f171a595d5195e7a903fee7769 Mon Sep 17 00:00:00 2001 From: zhangbo <zhangbo@qq.com> Date: 星期一, 14 七月 2025 15:49:28 +0800 Subject: [PATCH] V2.12, 解决uwb不测距休眠功耗不对的问题。(1分钟不测距就30秒开一秒接收) --- keil/include/drivers/WS2812.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keil/include/drivers/WS2812.h b/keil/include/drivers/WS2812.h index 4133143..232d583 100644 --- a/keil/include/drivers/WS2812.h +++ b/keil/include/drivers/WS2812.h @@ -17,11 +17,11 @@ #define YELLOW 0x888800 #define LEDOFF 0x000000 #else -#define RED 0X1100 -#define GREEN 0x110000 -#define BLUE 0x11 -#define WHITE 0x111111 -#define YELLOW 0x111100 +#define RED 0XFF00 +#define GREEN 0xFF0000 +#define BLUE 0xFF +#define WHITE 0xFFFFFF +#define YELLOW 0xFFFF00 #define LEDOFF 0x000000 #endif void Set4LEDColor(uint32_t firstled,uint32_t secondled,uint32_t thirdled,uint32_t fourthled); -- Gitblit v1.9.3