Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BME280 readme #18

Merged
merged 1 commit into from
Oct 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions examples/BME280/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## BME 280 WebThings example

In order to be able to use this example, you need to install the WebThings library.

Change the ssid and password to connect to your router

```c++
const char *ssid = "";
const char *password = "";
```

Make sure the BME/BMP 280 has the correct I2C address (0x76)
If it doesn't work or you know you use the other address, change it in

```c++
BME280I2C::Settings settings(
BME280::OSR_X1,
BME280::OSR_X1,
BME280::OSR_X1,
BME280::Mode_Forced,
BME280::StandbyTime_1000ms,
BME280::Filter_Off,
BME280::SpiEnable_False,
BME280I2C::I2CAddr_0x76 // I2C address. I2C specific.
);

```