Berhasil
Dependents: ADS1115_IR Test_all
Diff: Adafruit_ADS1015.cpp
- Revision:
- 6:441bc773778a
- Parent:
- 4:6445a678d458
--- a/Adafruit_ADS1015.cpp Sat Oct 11 08:45:17 2014 +0000 +++ b/Adafruit_ADS1015.cpp Mon Feb 25 15:50:05 2019 +0000 @@ -65,6 +65,7 @@ m_conversionDelay = ADS1015_CONVERSIONDELAY; m_bitShift = 4; m_gain = GAIN_TWOTHIRDS; /* +/- 6.144V range (limited to VDD +0.3V max!) */ +// m_gain = GAIN_TWO; /* +/- 2.048V range (limited to VDD +0.3V max!) */ m_i2c = i2c; } @@ -80,6 +81,7 @@ m_conversionDelay = ADS1115_CONVERSIONDELAY; m_bitShift = 0; m_gain = GAIN_TWOTHIRDS; /* +/- 6.144V range (limited to VDD +0.3V max!) */ +// m_gain = GAIN_TWO; /* +/- 2.048V range (limited to VDD +0.3V max!) */ m_i2c = i2c; }