minor documentation fixes
This commit is contained in:
@@ -9,10 +9,9 @@ repository = "https://git.kapelle.org/niklas/as7265x-rust"
|
||||
homepage = "https://git.kapelle.org/niklas/as7265x-rust"
|
||||
|
||||
[dependencies]
|
||||
embedded-hal = { version = "1.0.0", optional = true }
|
||||
maybe-async = { version = "0.2.10" }
|
||||
|
||||
embedded-hal-async = { version = "1.0.0" }
|
||||
maybe-async = { version = "0.2.10" }
|
||||
embedded-hal = { version = "1.0.0", optional = true }
|
||||
|
||||
[features]
|
||||
sync = ["embedded-hal", "maybe-async/is_sync"]
|
||||
|
||||
@@ -7,4 +7,4 @@ Mostly based on the [aurduino driver](https://github.com/sparkfun/SparkFun_AS726
|
||||
See [examples](./examples/).
|
||||
Also the [datasheet](https://cdn.sparkfun.com/assets/c/2/9/0/a/AS7265x_Datasheet.pdf) can give some info.
|
||||
|
||||
The driver requires a i2c device from `embedded_hal`. If you want to use the asynchronous version then enable the `async` feature flag.
|
||||
The driver requires a `I2c` device and a `DelayNs` from `embedded-hal-async`. If you want to use the synchronous version then enable the `sync` feature flag.
|
||||
|
||||
Reference in New Issue
Block a user