diff --git a/Cargo.toml b/Cargo.toml index a7a5d5a..fd87f54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mcp2003a" -version = "0.0.11" +version = "0.0.12" description = "Rust no_std LIN Bus communication using the MCP2003A LIN transceiver." edition = "2021" license = "MIT" diff --git a/src/lib.rs b/src/lib.rs index 0232d4b..17ea19c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,13 +30,13 @@ //! - [MCP2003A Datasheet](https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/20002230G.pdf) //! //! # Usage -//! ```no_run +//! ```rust,ignore //! let mut mcp2003a = Mcp2003a::new(uart2_driver, break_pin_driver, delay, lin_bus_config); //! ``` //! //! Then you can use the `mcp2003a` instance to send and receive LIN frames. //! -//! ```no_run +//! ```rust,ignore //! mcp2003a.send_wakeup(); //! //! mc2003a.send_frame(0x01, &[0x02, 0x03], 0x05).unwrap();