Skip to content

Commit cb5e304

Browse files
committed
Improve example 'advanced' and Rename to 'mpu_real'
1 parent d1abccf commit cb5e304

File tree

5 files changed

+266
-203
lines changed

5 files changed

+266
-203
lines changed

examples/README.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,17 @@
22

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

5-
+ **MPU-I2C**: Setup MPU through I2C for basic usage.
6-
+ **MPU-SPI**: Setup MPU through SPI for basic usage.
5+
+ **MPU-I2C**:
6+
Setup MPU through I2C for basic usage.
7+
8+
+ **MPU-SPI**:
9+
Setup MPU through SPI for basic usage.
10+
11+
+ **MPU-Real**:
12+
A more 'elaborated' example, shows how to:
13+
\- Use either SPI or I2C in the same code
14+
\- Use the MPU with interrupt signal
15+
\- Read sensor data from FIFO
16+
\- Perform Self-Test check
17+
\- Calibrate sensor data output using offset registers
18+
\- Calculate Tilt Angles

examples/advanced/main/advanced.cpp

-200
This file was deleted.

examples/advanced/Makefile examples/mpu_real/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Project Makefile #
22

3-
PROJECT_NAME := advanced
3+
PROJECT_NAME := mpu-real
44

55
# Path to MPU Driver
66
EXTRA_COMPONENT_DIRS += $(abspath ../..)
File renamed without changes.

0 commit comments

Comments
 (0)