This commit is contained in:
joan 2014-11-25 18:05:55 +00:00
parent e8a8ce1982
commit 8cb2e78171
2 changed files with 2 additions and 2 deletions

View File

@ -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 #define PCF8591_I2C_ADDR 0x48

View File

@ -10,7 +10,7 @@ import pigpio
# sudo pigpiod # sudo pigpiod
# ./PCF8591.py # ./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 YL_40=0x48