strawberry-pi-greenhouse/test.py

11 lines
149 B
Python

import board
import busio
import adafruit_bmp280
import time
def get_temperature():
while True:
print(get_temperature())
time.sleep(1)