From 1be01a3b18d163359ac9e992603197fb5b6c4032 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 8 Apr 2019 19:07:45 +0200 Subject: [PATCH] Add links to driver-examples repo --- README.md | 4 ++++ src/lib.rs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 6afb8fc..22126dc 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,10 @@ In the following example an instance of the device DS3231 will be created. Other devices can be created with similar methods like: `Ds323x::new_ds3234(...)`. +Please find additional examples using hardware in this repository: [driver-examples] + +[driver-examples]: https://github.com/eldruin/driver-examples + ```rust extern crate linux_embedded_hal as hal; extern crate ds323x; diff --git a/src/lib.rs b/src/lib.rs index a01abca..61daf4b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -146,6 +146,10 @@ //! DS3231 as an example, except when using features specific to another IC, //! for example, RAM access which is not available in the DS3231 device. //! +//! 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 DS3231 //! //! ```no_run