Skip to content

Commit 79ae33a

Browse files
committed
The gain value was missing the last two digits.
Similar to other settings, the gain is 4 digits long.
1 parent c090f6b commit 79ae33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_ADS1x15/ads1x15_ex_singleended.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def signal_handler(signal, frame):
1313
ADS1115 = 0x01 # 16-bit ADC
1414

1515
# Select the gain
16-
# gain = 61 # +/- 6.144V
16+
# gain = 6144 # +/- 6.144V
1717
gain = 4096 # +/- 4.096V
1818
# gain = 2048 # +/- 2.048V
1919
# gain = 1024 # +/- 1.024V

0 commit comments

Comments
 (0)