Berhasil
Dependents: ADS1115_IR Test_all
Diff: Adafruit_ADS1015.h
- Revision:
- 3:fb735fb343de
- Parent:
- 0:8174d9ceeca1
- Child:
- 4:6445a678d458
diff -r 659ccb9047ed -r fb735fb343de Adafruit_ADS1015.h --- a/Adafruit_ADS1015.h Sun Nov 10 18:44:47 2013 +0000 +++ b/Adafruit_ADS1015.h Sat Oct 11 08:25:34 2014 +0000 @@ -77,13 +77,13 @@ #define ADS1015_REG_CONFIG_MODE_SINGLE (0x0100) // Power-down single-shot mode (default) #define ADS1015_REG_CONFIG_DR_MASK (0x00E0) - #define ADS1015_REG_CONFIG_DR_128SPS (0x0000) // 128 samples per second - #define ADS1015_REG_CONFIG_DR_250SPS (0x0020) // 250 samples per second - #define ADS1015_REG_CONFIG_DR_490SPS (0x0040) // 490 samples per second - #define ADS1015_REG_CONFIG_DR_920SPS (0x0060) // 920 samples per second - #define ADS1015_REG_CONFIG_DR_1600SPS (0x0080) // 1600 samples per second (default) - #define ADS1015_REG_CONFIG_DR_2400SPS (0x00A0) // 2400 samples per second - #define ADS1015_REG_CONFIG_DR_3300SPS (0x00C0) // 3300 samples per second + #define ADS1015_REG_CONFIG_DR_128SPS (0x0000) // 128 samples per second - ADS1115 8SPS + #define ADS1015_REG_CONFIG_DR_250SPS (0x0020) // 250 samples per second - ADS1115 16SPS + #define ADS1015_REG_CONFIG_DR_490SPS (0x0040) // 490 samples per second - ADS1115 32SPS + #define ADS1015_REG_CONFIG_DR_920SPS (0x0060) // 920 samples per second - ADS1115 64SPS + #define ADS1015_REG_CONFIG_DR_1600SPS (0x0080) // 1600 samples per second - ADS1115 250SPS (default) + #define ADS1015_REG_CONFIG_DR_2400SPS (0x00A0) // 2400 samples per second - ADS1115 475SPS + #define ADS1015_REG_CONFIG_DR_3300SPS (0x00C0) // 3300 samples per second - ADS1115 860SPS #define ADS1015_REG_CONFIG_CMODE_MASK (0x0010) #define ADS1015_REG_CONFIG_CMODE_TRAD (0x0000) // Traditional comparator with hysteresis (default)