Skip to content

Commit

Permalink
Improve example 'advanced' and Rename to 'mpu_real'
Browse files Browse the repository at this point in the history
  • Loading branch information
natanaeljr committed Mar 8, 2018
1 parent d1abccf commit cb5e304
Show file tree
Hide file tree
Showing 5 changed files with 266 additions and 203 deletions.
16 changes: 14 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,17 @@

To run this examples, do not forget to add `I2Cbus/SPIbus` library path in the Makefile of each example.

+ **MPU-I2C**: Setup MPU through I2C for basic usage.
+ **MPU-SPI**: Setup MPU through SPI for basic usage.
+ **MPU-I2C**:
Setup MPU through I2C for basic usage.

+ **MPU-SPI**:
Setup MPU through SPI for basic usage.

+ **MPU-Real**:
A more 'elaborated' example, shows how to:
\- Use either SPI or I2C in the same code
\- Use the MPU with interrupt signal
\- Read sensor data from FIFO
\- Perform Self-Test check
\- Calibrate sensor data output using offset registers
\- Calculate Tilt Angles
200 changes: 0 additions & 200 deletions examples/advanced/main/advanced.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion examples/advanced/Makefile → examples/mpu_real/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Project Makefile #

PROJECT_NAME := advanced
PROJECT_NAME := mpu-real

# Path to MPU Driver
EXTRA_COMPONENT_DIRS += $(abspath ../..)
Expand Down
File renamed without changes.
Loading

0 comments on commit cb5e304

Please sign in to comment.