![]() |
Electrochemical Gas Sensor Library 1.0.0
A library for the Electrochemical Gas Sensor breakout board
|
#include <ADS1X15.h>
Inherits ADS1X15.
Public Member Functions | |
| ADS1014 (uint8_t Address=ADS1015_ADDRESS, TwoWire *wire=&Wire) | |
| Public Member Functions inherited from ADS1X15 | |
| void | reset () |
| bool | begin (uint8_t sda, uint8_t scl) |
| bool | begin () |
| bool | isConnected () |
| void | setGain (uint8_t gain=0) |
| uint8_t | getGain () |
| float | toVoltage (int16_t val=1) |
| float | getMaxVoltage () |
| void | setMode (uint8_t mode=1) |
| uint8_t | getMode () |
| void | setDataRate (uint8_t dataRate=4) |
| uint8_t | getDataRate () |
| int16_t | readADC (uint8_t pin) |
| int16_t | readADC_Differential_0_1 () |
| int16_t | getLastValue () |
| int16_t | getValue () |
| void | requestADC (uint8_t pin) |
| void | requestADC_Differential_0_1 () |
| bool | isBusy () |
| bool | isReady () |
| void | setComparatorMode (uint8_t mode) |
| uint8_t | getComparatorMode () |
| void | setComparatorPolarity (uint8_t pol) |
| uint8_t | getComparatorPolarity () |
| void | setComparatorLatch (uint8_t latch) |
| uint8_t | getComparatorLatch () |
| void | setComparatorQueConvert (uint8_t mode) |
| uint8_t | getComparatorQueConvert () |
| void | setComparatorThresholdLow (int16_t lo) |
| int16_t | getComparatorThresholdLow () |
| void | setComparatorThresholdHigh (int16_t hi) |
| int16_t | getComparatorThresholdHigh () |
| int8_t | getError () |
| void | setWireClock (uint32_t clockSpeed) |
| uint32_t | getWireClock () |
Additional Inherited Members | |
| Protected Member Functions inherited from ADS1X15 | |
| ADS1X15 () | |
| int16_t | _readADC (uint16_t readmode) |
| void | _requestADC (uint16_t readmode) |
| bool | _writeRegister (uint8_t address, uint8_t reg, uint16_t value) |
| uint16_t | _readRegister (uint8_t address, uint8_t reg) |
| Protected Attributes inherited from ADS1X15 | |
| uint8_t | _config |
| uint8_t | _maxPorts |
| uint8_t | _address |
| uint8_t | _conversionDelay |
| uint8_t | _bitShift |
| uint16_t | _gain |
| uint16_t | _mode |
| uint16_t | _datarate |
| uint8_t | _compMode |
| uint8_t | _compPol |
| uint8_t | _compLatch |
| uint8_t | _compQueConvert |
| int8_t | _err = ADS1X15_OK |
| TwoWire * | _wire |
| uint32_t | _clockSpeed = 0 |
| ADS1014::ADS1014 | ( | uint8_t | Address = ADS1015_ADDRESS, |
| TwoWire * | wire = &Wire ) |