From 0ce62b1a2fee1ff6b13b1d0557e5573ce829d709 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Fri, 05 Jul 2019 02:45:43 +0800
Subject: [PATCH] raspberrypi/modules/c source code for infrared, relay #pin set for Monitor RPi, and add tsl2561 lux sensor code

---
 modules/c/infrared.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/c/infrared.c b/modules/c/infrared.c
index 6475fc3..3ebbb99 100644
--- a/modules/c/infrared.c
+++ b/modules/c/infrared.c
@@ -15,8 +15,8 @@
 #include <unistd.h>
 #include <wiringPi.h>
 
-/* I/O Pin connected to PIN#16, BCM code pin number is 23 and wPi pin number is 4 */
-#define INFRARED_PIN           4
+/*Monitor RPi I/O Pin connected to PIN#38, and wPi pin number is 28 */
+#define INFRARED_PIN           28
 
 int main (int argc, char **argv)
 {

--
Gitblit v1.9.1