parent
1802fbc517
commit
55711e4b54
4
main.py
4
main.py
|
@ -87,6 +87,6 @@ def get_temperature():
|
||||||
bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x03)
|
bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c, address=0x03)
|
||||||
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