Skip to content

Commit 0810df9

Browse files
authored
Merge pull request #52 from ares-est/master
modify examples/ads1x15_ads1115_simpletest.py and add a comment for specific address selection
2 parents d57b5d4 + d39520c commit 0810df9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/ads1x15_ads1115_simpletest.py

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
# Create the ADC object using the I2C bus
1111
ads = ADS.ADS1115(i2c)
12+
# you can specify an I2C adress instead of the default 0x48
13+
#ads = ADS.ADS1115(i2c, address=0x49)
1214

1315
# Create single-ended input on channel 0
1416
chan = AnalogIn(ads, ADS.P0)

0 commit comments

Comments
 (0)