parent
2ebbfb9dc4
commit
71daf133dc
2
main.py
2
main.py
|
@ -85,6 +85,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