sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ads1115.h File Reference

Go to the source code of this file.

Macros

#define ADS1115_GAIN_6   0
 
#define ADS1115_GAIN_4   1
 
#define ADS1115_GAIN_2   2
 
#define ADS1115_GAIN_1   3
 
#define ADS1115_GAIN_HALF   4
 
#define ADS1115_GAIN_QUARTER   5
 
#define ADS1115_DR_8   0
 
#define ADS1115_DR_16   1
 
#define ADS1115_DR_32   2
 
#define ADS1115_DR_64   3
 
#define ADS1115_DR_128   4
 
#define ADS1115_DR_250   5
 
#define ADS1115_DR_475   6
 
#define ADS1115_DR_860   7
 

Functions

int ads1115Setup (int pinBase, int i2cAddress)
 

Macro Definition Documentation

#define ADS1115_DR_128   4
#define ADS1115_DR_16   1
#define ADS1115_DR_250   5
#define ADS1115_DR_32   2
#define ADS1115_DR_475   6
#define ADS1115_DR_64   3
#define ADS1115_DR_8   0
#define ADS1115_DR_860   7
#define ADS1115_GAIN_1   3
#define ADS1115_GAIN_2   2
#define ADS1115_GAIN_4   1
#define ADS1115_GAIN_6   0
#define ADS1115_GAIN_HALF   4
#define ADS1115_GAIN_QUARTER   5

Function Documentation

int ads1115Setup ( int  pinBase,
int  i2cAddress 
)