Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 449 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 449 Bytes

TWIM demo

The I2C compatible Two-Wire Interface Master mode (TWIM) demo. This demo uses the TWIM peripheral to read and write 8 bytes of data to arbitrary addresses on a device that are connected to the I2C pins p0_30 and p0_31. It demonstrates error handling if the device does not respond properly (or it is not connected).

How to run

If using cargo-embed, just run

$ cargo embed --release --target=thumbv7em-none-eabihf