28 #include "ads1x15.hpp" 
   35     #define ADS1115_CONVERSIONDELAY         (8000) 
   44 #define ADS1115_DR_MASK      (0x00E0) 
   45 #define ADS1115_DR_8SPS      (0x0000)  // 8 samples per second 
   46 #define ADS1115_DR_16SPS     (0x0020)  // 16 samples per second 
   47 #define ADS1115_DR_32SPS     (0x0040)  // 32 samples per second 
   48 #define ADS1115_DR_64SPS     (0x0060)  // 64 samples per second 
   49 #define ADS1115_DR_128SPS    (0x0080)  // 128 samples per second (default) 
   50 #define ADS1115_DR_250SPS    (0x00A0)  // 250 samples per second 
   51 #define ADS1115_DR_475SPS    (0x00C0)  // 475 samples per second 
   52 #define ADS1115_DR_860SPS    (0x00E0)  // 860 samples per second 
  104             typedef enum ADSDATARATE
 
  106               SPS_8            = ADS1115_DR_8SPS,
 
  107               SPS_16           = ADS1115_DR_16SPS,
 
  108               SPS_32           = ADS1115_DR_32SPS,
 
  109               SPS_64           = ADS1115_DR_64SPS,
 
  110               SPS_128          = ADS1115_DR_128SPS,
 
  111               SPS_250          = ADS1115_DR_250SPS,
 
  112               SPS_475          = ADS1115_DR_475SPS,
 
  113               SPS_860          = ADS1115_DR_860SPS
 
  124             ADS1115 (
int bus, uint8_t address = 0x48);
 
  138             void setSPS(ADSDATARATE rate = ADS1115::SPS_128);
 
  142           float getMultiplier(
void);
 
~ADS1115()
Definition: ads1115.cxx:35
 
Definition: ads1x15.hpp:113
 
void setSPS(ADSDATARATE rate=ADS1115::SPS_128)
Definition: ads1115.cxx:38
 
API for ADS1115. 
Definition: ads1115.hpp:86
 
ADS1115(int bus, uint8_t address=0x48)
Definition: ads1115.cxx:28