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/relay.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/c/relay.h b/modules/c/relay.h
index af47779..c2d238c 100644
--- a/modules/c/relay.h
+++ b/modules/c/relay.h
@@ -19,8 +19,8 @@
 #define OFF                 0
 #endif
 
-/*   I/O Pin connected to PIN#18, BCM code pin number is 24 and wPi pin number is 5 */
-#define RELAY_PIN           5
+/* Moniter RPi I/O Pin connected to PIN#40, and wPi pin number is 29 */
+#define RELAY_PIN           29
 
 void relay_init(void);
 void turn_relay(int cmd);

--
Gitblit v1.9.1