Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Käppler
ampel-firmware
Commits
306008d8
Commit
306008d8
authored
Dec 20, 2020
by
Eric Duminil
Browse files
TODOs
parent
50013921
Changes
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware.ino
View file @
306008d8
...
...
@@ -124,6 +124,9 @@ void loop() {
bool
freshData
=
sensor
::
scd30
.
dataAvailable
();
// Alternative : close to time-step AND dataAvailable, to avoid asking the sensor too often.
if
(
freshData
)
{
//TODO: Move to co2_sensor.cpp
//TODO: Save count of stable measurements
//TODO: Compare time to previous measurements, check that it's not too far away from config::measurement_interval
sensor
::
co2
=
sensor
::
scd30
.
getCO2
();
sensor
::
temperature
=
sensor
::
scd30
.
getTemperature
();
sensor
::
humidity
=
sensor
::
scd30
.
getHumidity
();
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment