A Raspberry PI PICO project with an I2C connected BMP280 temperature and pressure module. Where the temperature, pressure and height are displayed in the console and where the temperature is displayed on the attached SSD1306 I2C connected 32x128 Oled display.
Follow the setup suggested here to ensure that all the dependencies are there, the environment setup properly with the pico-sdk in the right place (same peer-folder from where you clone this project). Then:
$ mkdir build
$ cd build
$ cmake ..
$ make
After these theps the .uf2 is created. Press the button on the PICO, then plug the device to your PC and drag drop the .uf2 binary in the PICO folder. After this the project is running, indicated by the blinking light and temperature being written to the console.