Read the temperature and pressure from the BMP280 sensor, using the bmp280 driver and Micropython plugin for Pycharm:
from machine import I2C
from bmp280 import BMP280
bus = I2C(scl=machine.Pin(5), sda=machine.Pin(4))
bmp = BMP280(bus)
bmp.pressure
>>> 97679.8
bmp.temperature
>>> 21.68