mirror of https://github.com/joan2937/pigpio
V23
This commit is contained in:
parent
e8a8ce1982
commit
8cb2e78171
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue