From 5526b60c69c0c2dd0df985ced5824e9aa673c846 Mon Sep 17 00:00:00 2001
From: zhangbo <zhangbo@qq.com>
Date: 星期一, 14 四月 2025 09:45:31 +0800
Subject: [PATCH] 测试基本通过,现在开机30秒到90秒会确定在室内室外,然后现在室外的阈值提高信号强度高于400大于10个卫星

---
 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