Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adafruit/Adafruit_ADS1X15
/ functions
Functions
20 in github.com/adafruit/Adafruit_ADS1X15
⨍
Functions
20
◇
Types & classes
3
Method
Adafruit_ADS1015
/ ! @brief Instantiates a new ADS1015 class w/appropriate properties */ /
Adafruit_ADS1X15.cpp:38
Method
Adafruit_ADS1115
/ ! @brief Instantiates a new ADS1115 class w/appropriate properties */ /
Adafruit_ADS1X15.cpp:49
Method
begin
/ ! @brief Sets up the HW (reads coefficients values, etc.) @param i2c_addr I2C address of device @param wire I2C bus @return true
Adafruit_ADS1X15.cpp:65
Method
computeVolts
/ ! @brief Compute volts for the given raw counts. @param counts the ADC reading in raw counts @return the ADC reading in volts */ /
Adafruit_ADS1X15.cpp:323
Method
conversionComplete
/ ! @brief Returns true if conversion is complete, false otherwise. @return True if conversion is complete, false otherwise. */ /
Adafruit_ADS1X15.cpp:383
Method
getDataRate
/ ! @brief Gets the current data rate @return the data rate */ /
Adafruit_ADS1X15.cpp:107
Method
getFsRange
/ ! @brief Return the current fs range for the configured gain @return the fsRange for the configured gain, or zero. Zero should
Adafruit_ADS1X15.cpp:288
Method
getGain
/ ! @brief Gets a gain and input voltage range @return the gain setting */ /
Adafruit_ADS1X15.cpp:89
Method
getLastConversionResults
/ ! @brief In order to clear the comparator, we need to read the conversion results. This function reads the last conversion
Adafruit_ADS1X15.cpp:264
Method
readADC_Differential_0_1
/ ! @brief Reads the conversion results, measuring the voltage difference between the P (AIN0) and N (AIN1) input. Generates
Adafruit_ADS1X15.cpp:143
Method
readADC_Differential_0_3
/ ! @brief Reads the conversion results, measuring the voltage difference between the P (AIN0) and N (AIN3) input. Generates
Adafruit_ADS1X15.cpp:163
Method
readADC_Differential_1_3
/ ! @brief Reads the conversion results, measuring the voltage difference between the P (AIN1) and N (AIN3) input. Generates
Adafruit_ADS1X15.cpp:183
Method
readADC_Differential_2_3
/ ! @brief Reads the conversion results, measuring the voltage difference between the P (AIN2) and N (AIN3) input. Generates
Adafruit_ADS1X15.cpp:204
Method
readADC_SingleEnded
/ ! @brief Gets a single-ended ADC reading from the specified channel @param channel ADC channel to read @return the ADC reading */ /
Adafruit_ADS1X15.cpp:118
Method
readRegister
/ ! @brief Read 16-bits from the specified destination register @param reg register address to read from @return 16 bit register value
Adafruit_ADS1X15.cpp:411
Method
setDataRate
/ ! @brief Sets the data rate @param rate the data rate to use */ /
Adafruit_ADS1X15.cpp:98
Method
setGain
/ ! @brief Sets the gain and input voltage range @param gain gain setting to use */ /
Adafruit_ADS1X15.cpp:80
Method
startADCReading
/ ! @brief Non-blocking start conversion function Call getLastConversionResults() once conversionComplete() returns true. In continuous
Adafruit_ADS1X15.cpp:341
Method
startComparator_SingleEnded
/ ! @brief Sets up the comparator to operate in basic mode, causing the ALERT/RDY pin to assert (go from high to low) when the ADC
Adafruit_ADS1X15.cpp:227
Method
writeRegister
/ ! @brief Writes 16-bits to the specified destination register @param reg register address to write to @param value value to write to r
Adafruit_ADS1X15.cpp:395