From f7889e2ceddbc3e15ea4b5377d831f4432169f76 Mon Sep 17 00:00:00 2001 From: Guo Wenxue <guowenxue@gmail.com> Date: Sat, 04 Jan 2025 16:26:42 +0800 Subject: [PATCH] Update iotd program configure file --- modules/infrared.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/modules/infrared.c b/modules/infrared.c index dd39d97..ad2679c 100644 --- a/modules/infrared.c +++ b/modules/infrared.c @@ -9,6 +9,7 @@ * Pin connection: * HC-SR501 Module Raspberry Pi Board * VCC <-----> 5V + * I/O <-----> #Pin16(BCM GPIO23) * I/O <-----> #Pin18(BCM GPIO24) * GND <-----> GND * @@ -34,6 +35,7 @@ enum { IR1 = 0, + IR2, IR_CNT, }; @@ -49,6 +51,7 @@ static ir_info_t ir_info[IR_CNT] = { {"IR1", 23, 1, NULL }, + {"IR2", 24, 1, NULL }, }; /* infrared API context */ -- Gitblit v1.9.1