Raspberry + BME280

Setup

Make the script executable and run it. If the BME280 is wired up correctly, following output should appear:

Chip ID     : 96
Version     : 0
Temperature :  23.18 C
Pressure :  994.415458604 hPa
Humidity :  33.6359104061 %