Jan Gosmann
1e9986d41c
Add missing sleep to example
...
One has to sleep for the duration of the configured profile to read
proper data.
Closes #23 .
2021-05-06 21:33:16 +02:00
Jan Gosmann
f531e617d6
Expose gas_valid and heat_stab
...
The BME680 datasheet recommends to check these values to ensure that a
gas reading is valid. To do so, they must be exposed by the library.
2021-05-06 21:24:25 +02:00
huntc
500dbd9811
Pass the delayer around mutabily
...
This is as opposed to retaining ownership of it
2021-05-06 21:21:22 +02:00
huntc
c97894f84c
Cater for non-Linux environments
...
Doctests can be run using `cargo test --doc`. The examples still require Linux.
2021-05-06 21:21:22 +02:00
Marc Poulhiès
e10fa1a35a
Trivial typo fix in documentation
2020-11-24 22:10:39 +01:00
marcelbuesing
80a165cf11
Mention drogue-bme680
2020-10-12 20:31:18 +02:00
Adrian Stanciu
05a6643b1a
Remove warnings
...
`unused_parens` is now on by default:
```
warning: unnecessary parentheses around const expression
--> src\lib.rs:777:35
|
777 | let mut coeff_array: [u8; (BME680_COEFF_ADDR1_LEN + BME680_COEFF_ADDR2_LEN)] =
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
|
= note: `#[warn(unused_parens)]` on by default
warning: unnecessary parentheses around const expression
--> src\lib.rs:778:17
|
778 | [0; (BME680_COEFF_ADDR1_LEN + BME680_COEFF_ADDR2_LEN)];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
warning: 2 warnings emitted
```
2020-08-24 09:21:27 +02:00
marcelbuesing
9df17c592d
Migrate influx example to influx_db_client crate and tokio 0.2
2020-07-27 13:13:46 +02:00
marcelbuesing
97d9f5ea81
Bump version to 0.5.1
2020-04-05 21:24:57 +02:00
marcelbuesing
379442bea6
Cleanup clippy warnings
2020-04-05 21:20:40 +02:00
marcelbuesing
976763c8f8
Bump dependency versions
2020-04-05 20:59:17 +02:00
marcelbuesing
62fe53415e
Add travis badge
2019-11-27 11:22:58 +01:00
marcelbuesing
4f44de0bb7
Add maintenance status
2019-11-27 11:10:09 +01:00
marcelbuesing
256b692e16
Bump version to 0.5.0
2019-11-27 11:08:08 +01:00
marcelbuesing
06af0d61b2
Remove remaining pre 2018 artifacts
2019-11-27 11:07:15 +01:00
marcelbuesing
ad8d0798ed
Migrate to futures-0.3 and tokio-0.2
2019-11-27 11:00:31 +01:00
marcelbuesing
900688f5cc
Bump version to 0.4.3
2019-03-19 18:13:50 +01:00
fossabot
c8859f40c2
Add license scan report and status
...
Signed-off-by: fossabot <badges@fossa.io>
2019-01-26 10:49:09 +01:00
Chris
5ede8096c4
Fix ci build fails
...
There was some problem with the std examples, so I changed ci to only check a seperate use of the bme680 in a new ci-folder to be no_std compatible.
2019-01-26 10:41:20 +01:00
Chris
79955a19be
Fix the no_std f32 errors
2019-01-16 16:56:59 +01:00
Chris
fe434a729f
add no_std compatibility test
...
This should check that the crate stays no_std compatible in the future
2019-01-15 17:38:03 +01:00
marcelbuesing
88a8963455
Bump version to 0.4.2
2019-01-05 20:28:14 +01:00
marcelbuesing
0c90c96a85
Return temperature offset in get_sensor_settings ( #12 )
2019-01-05 20:20:03 +01:00
marcelbuesing
25dd144399
Bump version to 0.4.1
2018-12-22 10:05:03 +01:00
marcelbuesing
38bfe30acc
Fix temperature offset to be of type f32, closes #11
2018-12-22 10:02:35 +01:00
marcelbuesing
2578140bda
Bump version to 0.4.0
2018-12-18 19:28:10 +01:00
marcelbuesing
faec5049e4
#11 Add optional temperature offset
2018-12-14 21:22:21 +01:00
marcelbuesing
e9c553d7d7
Bump version to 0.3.2
2018-11-12 20:54:55 +01:00
dependabot[bot]
819c866107
Update env_logger requirement from 0.5 to 0.6
...
Updates the requirements on [env_logger](https://github.com/sebasmagri/env_logger ) to permit the latest version.
- [Release notes](https://github.com/sebasmagri/env_logger/releases )
- [Commits](https://github.com/sebasmagri/env_logger/commits/v0.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 20:34:54 +01:00
marcelbuesing
5c1de2a1d3
Rustfmt code
2018-10-17 22:10:55 +02:00
marcelbuesing
f7e81b4573
Migrate example to influent v0.5
2018-10-17 22:09:15 +02:00
marcelbuesing
30d6588a19
Add graphs to README
2018-10-14 12:37:33 +02:00
marcelbuesing
1a12d48c1f
Remove Cargo.lock from library
2018-09-26 11:11:13 +02:00
dependabot[bot]
b5a21cdb8d
Bump i2cdev from 0.3.2 to 0.4.0
...
Bumps [i2cdev](https://github.com/rust-embedded/rust-i2cdev ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/rust-embedded/rust-i2cdev/releases )
- [Commits](https://github.com/rust-embedded/rust-i2cdev/compare/0.3.2...0.4.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-25 20:55:39 +02:00
chrysn
8bdc6d4d21
example: Use no_std, and delay using embedded-hal
...
This does not make any difference in the concrete example
(linux-embedded-hal's delay is implemented in terms of std::thread), but
it removes a stone from the path of people who start from the example
towards an actual use of embedded hal. (They'll still have to find
suitable replacements for env_hal and linux_embedded_hal, but that's
the parts that have to be.)
2018-08-15 23:31:45 +02:00
marcelbuesing
1b6ccbb413
Bump version to 0.3.1
2018-06-06 19:30:10 +02:00
marcelbuesing
1682f433ab
Always set gas sensor settings when setting any gas related setting, regards #3
2018-06-06 18:53:24 +02:00
marcelbuesing
722e054f58
Actually set provided gas config, closes #3 .
...
Failure to set the provided gas config lead to incorrect gas resistance values.
2018-06-05 23:45:26 +02:00
marcelbuesing
76e20820ee
Add example that sends values to a influx database
2018-06-01 15:02:01 +02:00
marcelbuesing
9701e85c39
Derive PartialEq for FieldDataCondition
2018-06-01 14:48:19 +02:00
marcelbuesing
bf9d05ec2e
Bump version to 0.3.0
2018-05-31 12:30:13 +02:00
marcelbuesing
ceed9e844b
Add example to crate documentation
2018-05-31 12:28:07 +02:00
marcelbuesing
833f892e6b
Rename Bme680_dev struct to Bme680
2018-05-31 12:13:36 +02:00
marcelbuesing
650db10d69
Reduce struct visibility where not required
2018-05-31 12:10:34 +02:00
marcelbuesing
ba7a1dd09f
Rename Bme680Error to Error
2018-05-31 11:46:46 +02:00
marcelbuesing
301cd55df4
Cleanup constants
2018-05-31 11:35:19 +02:00
marcelbuesing
ff72b14bc8
Bump version to 0.2.0
2018-05-30 21:29:32 +02:00
marcelbuesing
3b84d4f6f3
Add documentation to settings and lib
2018-05-30 21:27:29 +02:00
marcelbuesing
336305d30d
Replace u8 with IIRFilterSize enum
2018-05-30 21:06:11 +02:00
marcelbuesing
44fc891b3e
Introduce SettingsBuilder
2018-05-30 08:28:48 +02:00