diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-07-14 18:45:34 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-14 18:45:34 +0000 |
| commit | 4b3fda4f96cee03d15ee5c339ea3073ca928239d (patch) | |
| tree | 3d55df7b8d9b2443c442e7e2b7fad91494cd6b28 /examples/rp/src/bin/i2c_blocking.rs | |
| parent | d979841f17721c344142d36bc56f79bea50a158f (diff) | |
| parent | 56ca1794759a21d9d5397e5bd4aa8226f6ef9385 (diff) | |
Merge pull request #1650 from henrikberg/rp_examples_doc
RP examples gets file description
Diffstat (limited to 'examples/rp/src/bin/i2c_blocking.rs')
| -rw-r--r-- | examples/rp/src/bin/i2c_blocking.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/rp/src/bin/i2c_blocking.rs b/examples/rp/src/bin/i2c_blocking.rs index 7623e33c8..1c8c2039d 100644 --- a/examples/rp/src/bin/i2c_blocking.rs +++ b/examples/rp/src/bin/i2c_blocking.rs | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | //! This example shows how to communicate using i2c with external chips. | ||
| 2 | //! | ||
| 3 | //! Example written for the [`MCP23017 16-Bit I2C I/O Expander with Serial Interface`] chip. | ||
| 4 | //! (https://www.microchip.com/en-us/product/mcp23017) | ||
| 5 | |||
| 1 | #![no_std] | 6 | #![no_std] |
| 2 | #![no_main] | 7 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 8 | #![feature(type_alias_impl_trait)] |
