Ouj_Junchao 2 роки тому
батько
коміт
bad4d8940b
1 змінених файлів з 22 додано та 11 видалено
  1. 22 11
      hal/hal_led/hal_led.h

+ 22 - 11
hal/hal_led/hal_led.h

@@ -29,17 +29,17 @@
 //#define COLOR_CYAN		0xFF00FFFF
 
 
-#define COLOR_BLACK                0xFF000000
-#define COLOR_LOWWHITE             0x0F0F0F0F
-#define COLOR_WHITE                0x2F2F2F2F
-#define COLOR_RED                  0xFFFF0000
-#define COLOR_LIGHRED              0xFF070000
-#define COLOR_GREEN                0xFF007F00
-#define COLOR_BLUE                 0xFF0000FF
-#define COLOR_ORANGE               0xFF6F1000
-#define COLOR_PURPLE               0xFFFF00FF
-#define COLOR_YELLOW               0xFFFFFF00
-#define COLOR_CYAN                 0xFF000707
+//#define COLOR_BLACK                0xFF000000
+//#define COLOR_LOWWHITE             0x0F0F0F0F
+//#define COLOR_WHITE                0x2F2F2F2F
+//#define COLOR_RED                  0xFFFF0000
+//#define COLOR_LIGHRED              0xFF070000
+//#define COLOR_GREEN                0xFF007F00
+//#define COLOR_BLUE                 0xFF0000FF
+//#define COLOR_ORANGE               0xFF6F1000
+//#define COLOR_PURPLE               0xFFFF00FF
+//#define COLOR_YELLOW               0xFFFFFF00
+//#define COLOR_CYAN                 0xFF000707
 
 //#define COLOR_BLACK					0xFF000000
 //#define COLOR_LOWWHITE      0x0F0F0F0F
@@ -52,6 +52,17 @@
 //#define COLOR_YELLOW				0xFF5F5F00
 //#define COLOR_CYAN					0xFF005F5F
 
+#define COLOR_BLACK					0xFF000000
+#define COLOR_LOWWHITE      0x0F0F0F0F
+#define COLOR_WHITE					0xFF1F1F1F
+#define COLOR_RED		  			0xFF6F0000
+#define COLOR_GREEN					0xFF009F00
+#define COLOR_BLUE					0xFF0000AF
+#define COLOR_ORANGE				0xFF3F1000
+#define COLOR_PURPLE				0xFF9F009F
+#define COLOR_YELLOW				0xFF7F7F00
+#define COLOR_CYAN					0xFF005F5F
+
 #define LED_ENABLE						0
 #define LED_DISABLE						1