Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
1279697f
Commit
1279697f
authored
6 years ago
by
Alexandre Abadie
Browse files
Options
Downloads
Patches
Plain Diff
tests/driver_mma8x5x: adapt README with type param removal
parent
a63d76b3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/driver_mma8x5x/Makefile
+1
-1
1 addition, 1 deletion
tests/driver_mma8x5x/Makefile
tests/driver_mma8x5x/README.md
+1
-2
1 addition, 2 deletions
tests/driver_mma8x5x/README.md
with
2 additions
and
3 deletions
tests/driver_mma8x5x/Makefile
+
1
−
1
View file @
1279697f
include
../Makefile.tests_common
include
../Makefile.tests_common
USEMODULE
+=
mma8x5x
USEMODULE
+=
mma8x5x
# will work with all variants
USEMODULE
+=
xtimer
USEMODULE
+=
xtimer
include
$(RIOTBASE)/Makefile.include
include
$(RIOTBASE)/Makefile.include
This diff is collapsed.
Click to expand it.
tests/driver_mma8x5x/README.md
+
1
−
2
View file @
1279697f
...
@@ -3,14 +3,13 @@ This is a manual test application for the MMA8x5x accelerometer driver.
...
@@ -3,14 +3,13 @@ This is a manual test application for the MMA8x5x accelerometer driver.
# Usage
# Usage
This test application will initialize the MMA8x5x sensor with the following parameters:
This test application will initialize the MMA8x5x sensor with the following parameters:
-
default device type: MMA8652
-
full scale parameter set to +/-2 g
-
full scale parameter set to +/-2 g
-
200 Hz output data-rate
-
200 Hz output data-rate
To change these parameters, you can override them by setting their corresponding
To change these parameters, you can override them by setting their corresponding
defines in your build environment, e.g.
defines in your build environment, e.g.
```
bash
```
bash
CFLAGS
=
-DMMA8X5X_PARAM_
TYPE
=
MMA8X5X_TYPE_MMA8451
make ...
CFLAGS
=
-DMMA8X5X_PARAM_
ADDR
=
0x1d
make ...
```
```
See RIOT/drivers/mma8x5x_params.h for the default configuration.
See RIOT/drivers/mma8x5x_params.h for the default configuration.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment