parent
82f31454d6
commit
fcbefd6db3
4
main.py
4
main.py
|
@ -85,6 +85,6 @@ def get_temperature():
|
||||||
bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x76)
|
bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x76)
|
||||||
return int(bmp280.temperature)
|
return int(bmp280.temperature)
|
||||||
|
|
||||||
# print(get_moisture())
|
print(get_moisture())
|
||||||
print(get_water_level())
|
print(get_water_level())
|
||||||
# print(get_temperature())
|
print(get_temperature())
|
Loading…
Reference in New Issue