Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Zeiterfassungswürfel
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lehrstuhl für Informatik 4 (Systemsoftware)
Zeiterfassungswürfel
Commits
5a6b4f3d
Commit
5a6b4f3d
authored
Aug 27, 2019
by
Christian Eichler
Browse files
Options
Downloads
Patches
Plain Diff
ws-only: Fixup accelerometer.{cpp,h}
parent
ee787985
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sketch_timecube/accelerometer.cpp
+68
-69
68 additions, 69 deletions
sketch_timecube/accelerometer.cpp
sketch_timecube/accelerometer.h
+40
-40
40 additions, 40 deletions
sketch_timecube/accelerometer.h
with
108 additions
and
109 deletions
sketch_timecube/accelerometer.cpp
+
68
−
69
View file @
5a6b4f3d
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
Accelerometer
::
Accelerometer
(
int8_t
cspin
)
:
_cs
(
cspin
)
{
}
Accelerometer
::
Accelerometer
(
int8_t
cspin
)
:
_cs
(
cspin
)
{
}
bool
Accelerometer
::
begin
(
accel_dataRate_t
dataRate
,
accel_range_t
range
)
{
bool
Accelerometer
::
begin
(
accel_dataRate_t
dataRate
,
accel_range_t
range
)
{
digitalWrite
(
_cs
,
HIGH
);
digitalWrite
(
_cs
,
HIGH
);
pinMode
(
_cs
,
OUTPUT
);
pinMode
(
_cs
,
OUTPUT
);
...
...
This diff is collapsed.
Click to expand it.
sketch_timecube/accelerometer.h
+
40
−
40
View file @
5a6b4f3d
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