Skip to content

Commit

Permalink
docs(i2c-controller): slightly expand the test README
Browse files Browse the repository at this point in the history
  • Loading branch information
ROMemories committed Sep 20, 2024
1 parent 736194e commit 8fd9cf4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/i2c-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
## About

This application is testing raw I2C bus usage in RIOT-rs.
Please use `riot_rs::sensors` instead for a high-level sensor abstraction that is architecture-agnostic.

## How to run

In this folder, run

laze build -b nrf52840dk run

This example requires a LIS3DH sensor (3-axis accelerometer) attached to the pins configured in the test.
This test requires an LIS3DH sensor (3-axis accelerometer) attached to the pins configured in the
`pins` module.
It attempts to read the `WHO_AM_I` register and checks the received value against the expected id.

0 comments on commit 8fd9cf4

Please sign in to comment.