Skip to content

Commit

Permalink
add usage section to readme #6
Browse files Browse the repository at this point in the history
  • Loading branch information
teamplayer3 committed Feb 3, 2024
1 parent b8d67fd commit 42cd256
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ Implementation of an ENS160 sensor driver written in rust. This sensor can measu

For more information about the sensor [here](https://wiki.dfrobot.com/SKU_SEN0515_Fermion_ENS160_Air_Quality_Sensor).

## Usage

To use this crate in a `no-std` environment, add it to your `Cargo.toml` as follows:

```toml
[dependencies.ens160]
version = "0.6"
default-features = false
```

## Example

```rust
Expand Down

0 comments on commit 42cd256

Please sign in to comment.