import time from breakout_bme280 import BreakoutBME280 from pimoroni_i2c import PimoroniI2C PINS_BREAKOUT_GARDEN = {"sda": 4, "scl": 5} PINS_PICO_EXPLORER = {"sda": 20, "scl": 21} i2c = PimoroniI2C(**PINS_BREAKOUT_GARDEN) bme = BreakoutBME280(i2c) while True: reading = bme.read() print(reading) time.sleep(1.0)