Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michal Rybka
openCanSat-2.0-library
Commits
52ff9d49
Commit
52ff9d49
authored
Sep 26, 2018
by
Markéta Jedličková
Browse files
Init altitude and humidity added
parent
3bc5de16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OcsStorage.cpp
View file @
52ff9d49
...
...
@@ -35,7 +35,7 @@ void OcsStorage::Update(message income, uint8_t screenNum)
ocsDesign
.
drawMinPress
(
income
.
pressure
);
ocsDesign
.
drawMaxPress
(
income
.
pressure
);
ocsDesign
.
drawAltitude
(
income
.
altitude
);
ocsDesign
.
drawHumidity
(
income
.
humidity
);
ocsDesign
.
drawHumidity
(
income
.
humidity
_bme280
);
minData
.
temperature
=
income
.
temperature
;
maxData
.
temperature
=
income
.
temperature
;
minData
.
pressure
=
income
.
pressure
;
...
...
@@ -51,7 +51,7 @@ void OcsStorage::Update(message income, uint8_t screenNum)
ocsDesign
.
drawMinPress
(
minData
.
pressure
);
ocsDesign
.
drawMaxPress
(
maxData
.
pressure
);
ocsDesign
.
drawAltitude
(
income
.
altitude
);
ocsDesign
.
drawHumidity
(
income
.
humidity
);
ocsDesign
.
drawHumidity
(
income
.
humidity
_bme280
);
isTransition
=
false
;
}
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment