parent
dffac60962
commit
1af5a9ef8f
2
test.py
2
test.py
|
@ -8,7 +8,7 @@ def signal_handler(signal, frame):
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
signal.signal(signal.SIGINT, signal_handler)
|
signal.signal(signal.SIGINT, signal_handler)
|
||||||
|
|
||||||
ADS1115 = 0x01 # 16-bit ADC
|
ADS1115 = 0x00 # 16-bit ADC
|
||||||
|
|
||||||
# Select the gain
|
# Select the gain
|
||||||
# gain = 6144 # +/- 6.144V
|
# gain = 6144 # +/- 6.144V
|
||||||
|
|
Loading…
Reference in New Issue