BME280 Environmental Sensor
- If you use SPI connection. You should change the USEIIC define to 0 on main.c:
4. Save and exit. Then re-compile the demo code:
sudo make clean
sudo make
5. Running the demo code:
sudo ./bme280
Note: if there are not any data outputted after running the demo code or get wrong
data, please check the hardware connection and address used.