summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2019-02-18 22:00:23 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2019-02-18 22:00:23 +0100
commit29cdf11d819f2ffa30c960c61508fec763873333 (patch)
tree77bb9aa41918fd2535626bff5523984ced7fb739
parent242397768da09fb78be2f14bf94f0bbbc53ab6e3 (diff)
downloadads1x1x-async-29cdf11d819f2ffa30c960c61508fec763873333.tar.gz
ads1x1x-async-29cdf11d819f2ffa30c960c61508fec763873333.tar.xz
ads1x1x-async-29cdf11d819f2ffa30c960c61508fec763873333.zip
Add links to examples repository
-rw-r--r--README.md4
-rw-r--r--src/lib.rs4
2 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 22b2fba..73790d7 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,10 @@ In the following examples an instance of the device ADS1013 will be created
as an example. Other devices can be created with similar methods like:
`Ads1x1x::new_ads1114(...)`.
+Please find additional examples using hardware in this repository: [driver-examples]
+
+[driver-examples]: https://github.com/eldruin/driver-examples
+
```rust
extern crate embedded_hal;
use embedded_hal::adc::OneShot;
diff --git a/src/lib.rs b/src/lib.rs
index cf0039a..559a069 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -80,6 +80,10 @@
//! as an example. Other devices can be created with similar methods like:
//! `Ads1x1x::new_ads1114(...)`.
//!
+//! Please find additional examples using hardware in this repository: [driver-examples]
+//!
+//! [driver-examples]: https://github.com/eldruin/driver-examples
+//!
//! ### Create a driver instance for the ADS1013
//!
//! ```no_run