This is an ESP-IDF project showing example use of the BME280 ESP32 API.
- Start by installing the ESP-IDF development framework
- Clone this repository. Use
git clone [email protected]:jalius/bme280_esp32_example.git --recurse-submodules
, which will bring in the submodule components. - Using the ESP-IDF tools, build and flash.
cd bme280_esp32_example
get_idf
idf.py set-target {target}
idf.py build flash monitor
For more info about components in the ESP32-IDF build system, read the docs.