From b39a40b0191e0a8b155db74e885ff66e17b91896 Mon Sep 17 00:00:00 2001 From: jinlicong <493886250@qq.com> Date: Thu, 06 Jun 2024 19:25:15 +0800 Subject: [PATCH] 继续完善 --- Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h b/Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h index f70f959..a3ab2e6 100644 --- a/Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h +++ b/Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h @@ -6,7 +6,7 @@ //����������ʱ�� -#define PULSE_CHECK_DELAY_MS 10U +#define PULSE_CHECK_DELAY_MS 30U //���� @@ -24,8 +24,8 @@ #define LP_LOSE_CHECK_ENABLE GPIO_SetBits(LP_LOSE_CHECK_EN_PORT,LP_LOSE_CHECK_EN_PIN) #define LP_LOSE_CHECK_DISABLE GPIO_ResetBits(LP_LOSE_CHECK_EN_PORT,LP_LOSE_CHECK_EN_PIN) //������IO -#define LF_PULSE_INT_PORT GPIOA -#define LF_PULSE_INT_PIN GPIO_Pin_0 +#define LF_PULSE_INT_PORT GPIOC +#define LF_PULSE_INT_PIN GPIO_Pin_5 #define LF_PULSE_INT_IO_READ GPIO_ReadInputDataBit(LF_PULSE_INT_PORT, LF_PULSE_INT_PIN) @@ -66,5 +66,6 @@ void Pulse_And_Alarm_Line_IO_Init(void); void PulseAndAlarmLineInit(void); +void PulseAndAlarmLineCheck(void); #endif -- Gitblit v1.9.3