1
Fork 0

Update README.md

This commit is contained in:
Julian Gaal 2019-04-27 17:37:52 +02:00 committed by GitHub
parent d3e22fc933
commit 1ca32fedf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,8 @@ Platform agnostic driver for [MPU 6050 6-axis IMU](https://www.invensense.com/pr
Visualization options for testing and development in [viz branch](https://github.com/juliangaal/mpu6050/tree/viz/viz) Visualization options for testing and development in [viz branch](https://github.com/juliangaal/mpu6050/tree/viz/viz)
### Basic usage - [`linux_embedded_hal`](https://github.com/rust-embedded/linux-embedded-hal) example ### Basic usage
[`linux_embedded_hal`](https://github.com/rust-embedded/linux-embedded-hal) example
```rust ```rust
use mpu6050::*; use mpu6050::*;
use linux_embedded_hal::{I2cdev, Delay}; use linux_embedded_hal::{I2cdev, Delay};
@ -64,7 +65,6 @@ fn main() -> Result<(), Error<LinuxI2CError>> {
} }
``` ```
*Note*: this example uses API of version on local master branch. Some functions may not be available on published crate yet.
#### Compile linux example (Raspberry Pi 3B) #### Compile linux example (Raspberry Pi 3B)
files [here](https://github.com/juliangaal/mpu6050/blob/master/example/) files [here](https://github.com/juliangaal/mpu6050/blob/master/example/)