From d03f549fa5327ff2e138547e702877cb12a82189 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 22 Nov 2025 20:24:56 +0800
Subject: [PATCH] update TSL2561 source code to fix bug

---
 project/modules/tsl2561.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/project/modules/tsl2561.h b/project/modules/tsl2561.h
index b73ff4a..46dfd96 100644
--- a/project/modules/tsl2561.h
+++ b/project/modules/tsl2561.h
@@ -10,7 +10,7 @@
  *      ChangeLog:  1, Release initial version on "10/08/23 17:52:00"
  *
  * Pin connection:
- *               STH20 Module            Raspberry Pi Board
+ *              TSL2561 Module           Raspberry Pi Board
  *                   VCC      <----->      #Pin1(3.3V)
  *                   SDA0     <----->      #Pin27(SDA, BCM GPIO0)
  *                   SCL0     <----->      #Pin28(SCL, BCM GPIO1)
@@ -21,11 +21,10 @@
  *
  ********************************************************************************/
 
-
 #ifndef  _TSL2561_H_
 #define  _TSL2561_H_
 
-#define TSL2561_I2CDEV                 "/dev/i2c-0"
+#define TSL2561_I2CDEV                 "/dev/i2c-1"
 #define TSL2561_I2CADDR                 0x39
 
 extern int tsl2561_get_lux(float *lux);

--
Gitblit v1.9.1