mirror of https://github.com/eldruin/ds323x-rs
Add links to driver-examples repo
parent
79c0b870df
commit
1be01a3b18
|
@ -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:
|
Other devices can be created with similar methods like:
|
||||||
`Ds323x::new_ds3234(...)`.
|
`Ds323x::new_ds3234(...)`.
|
||||||
|
|
||||||
|
Please find additional examples using hardware in this repository: [driver-examples]
|
||||||
|
|
||||||
|
[driver-examples]: https://github.com/eldruin/driver-examples
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
extern crate linux_embedded_hal as hal;
|
extern crate linux_embedded_hal as hal;
|
||||||
extern crate ds323x;
|
extern crate ds323x;
|
||||||
|
|
|
@ -146,6 +146,10 @@
|
||||||
//! DS3231 as an example, except when using features specific to another IC,
|
//! DS3231 as an example, except when using features specific to another IC,
|
||||||
//! for example, RAM access which is not available in the DS3231 device.
|
//! 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
|
//! ### Create a driver instance for the DS3231
|
||||||
//!
|
//!
|
||||||
//! ```no_run
|
//! ```no_run
|
||||||
|
|
Loading…
Reference in New Issue