瀏覽代碼

Renamed gain constants as per Datasheet

pull/50/head
Roudy Dagher 8 年之前
committed by rdagher
父節點
當前提交
e2867c327f
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. +5
    -5
      wiringPi/ads1115.h

+ 5
- 5
wiringPi/ads1115.h 查看文件

@@ -26,12 +26,12 @@

// Gain

#define ADS1115_GAIN_6 0
#define ADS1115_GAIN_4 1
#define ADS1115_GAIN_TWO_THIRD 0
#define ADS1115_GAIN_1 1
#define ADS1115_GAIN_2 2
#define ADS1115_GAIN_1 3
#define ADS1115_GAIN_HALF 4
#define ADS1115_GAIN_QUARTER 5
#define ADS1115_GAIN_4 3
#define ADS1115_GAIN_8 4
#define ADS1115_GAIN_16 5

// Data rate



Loading…
取消
儲存