From 8cb2e7817135944cad464135840b3af48abd6c38 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 25 Nov 2014 18:05:55 +0000 Subject: [PATCH] V23 --- EXAMPLES/C/PCF8591_YL-40/PCF8591.c | 2 +- EXAMPLES/Python/PCF8591_YL-40/PCF8591.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EXAMPLES/C/PCF8591_YL-40/PCF8591.c b/EXAMPLES/C/PCF8591_YL-40/PCF8591.c index f2c0730..5d9e185 100644 --- a/EXAMPLES/C/PCF8591_YL-40/PCF8591.c +++ b/EXAMPLES/C/PCF8591_YL-40/PCF8591.c @@ -16,7 +16,7 @@ sudo ./PCF8591 */ /* -Connect Pi 5V - VCC, Ground - Ground, SDA - SDA, SCL - SCL. +Connect Pi 3V3 - VCC, Ground - Ground, SDA - SDA, SCL - SCL. */ #define PCF8591_I2C_ADDR 0x48 diff --git a/EXAMPLES/Python/PCF8591_YL-40/PCF8591.py b/EXAMPLES/Python/PCF8591_YL-40/PCF8591.py index c2c898c..7ef3110 100755 --- a/EXAMPLES/Python/PCF8591_YL-40/PCF8591.py +++ b/EXAMPLES/Python/PCF8591_YL-40/PCF8591.py @@ -10,7 +10,7 @@ import pigpio # sudo pigpiod # ./PCF8591.py -# Connect Pi 5V - VCC, Ground - Ground, SDA - SDA, SCL - SCL. +# Connect Pi 3V3 - VCC, Ground - Ground, SDA - SDA, SCL - SCL. YL_40=0x48