From 6c7e61a54ef9b96f79704f0b965664e89f57dd52 Mon Sep 17 00:00:00 2001
From: jinlicong <493886250@qq.com>
Date: Wed, 29 May 2024 17:41:52 +0800
Subject: [PATCH] 增加休眠,开始上板测试

---
 Function/OTHER_FUN/other_fun.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Function/OTHER_FUN/other_fun.h b/Function/OTHER_FUN/other_fun.h
index 7d8236f..040c055 100644
--- a/Function/OTHER_FUN/other_fun.h
+++ b/Function/OTHER_FUN/other_fun.h
@@ -6,6 +6,12 @@
 
 /****������ɢ���ܷ������ﴦ��****/
 
+//LED��
+#define LED_ON		GPIO_ResetBits(GPIOD,GPIO_Pin_8)
+#define LED_OFF		GPIO_SetBits(GPIOD,GPIO_Pin_8)
+#define LED_TOG		GPIO_ToggleBits(GPIOD,GPIO_Pin_8)
+
+
 //���Ǽ��
 #define UNCAP_PORT 	GPIOD
 #define UNCAP_PIN 	GPIO_Pin_1
@@ -20,9 +26,9 @@
 #define	MAGNETIC_INTERFERENCE_IO_READ	GPIO_ReadInputDataBit(MAGNETIC_INTERFERENCE_PORT, MAGNETIC_INTERFERENCE_PIN)
 
 
-
+void led_init(void);
 void OtherFunPro(void);
 
 
 
-#endif
\ No newline at end of file
+#endif

--
Gitblit v1.9.3