parent
007d08d402
commit
ce012d179e
2
main.py
2
main.py
|
@ -72,7 +72,7 @@ def signal_handler(signal, frame):
|
||||||
signal.signal(signal.SIGINT, signal_handler)
|
signal.signal(signal.SIGINT, signal_handler)
|
||||||
|
|
||||||
def get_moisture():
|
def get_moisture():
|
||||||
ADS1115 = 0x00
|
ADS1115 = 0x0
|
||||||
gain = 6144
|
gain = 6144
|
||||||
sps = 250
|
sps = 250
|
||||||
adc = SDL_Adafruit_ADS1x15.ADS1x15(ic=ADS1115)
|
adc = SDL_Adafruit_ADS1x15.ADS1x15(ic=ADS1115)
|
||||||
|
|
Loading…
Reference in New Issue