Library for the ADS1015 and ADS1115 ADCS

Fork of ADS1015 by Momo-Medical

Revision:
12:b8485d232bf8
Parent:
10:da5d0da65437
Child:
13:e0d3c07d79fa
--- a/Adafruit_ADS1015.cpp	Mon Oct 02 15:53:20 2017 +0000
+++ b/Adafruit_ADS1015.cpp	Thu Feb 01 18:03:39 2018 +0000
@@ -187,7 +187,7 @@
     writeRegister(m_i2cAddress, ADS1015_REG_POINTER_CONFIG, config);
 
     // Wait for the conversion to complete
-    wait_ms(m_conversionDelay);
+    wait_us(m_conversionDelay);
 
     // Read the conversion results
     uint16_t res = readRegister(m_i2cAddress, ADS1015_REG_POINTER_CONVERT) >> m_bitShift;