Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel2
co2-ampel
Commits
0abf60b4
Commit
0abf60b4
authored
Mar 23, 2022
by
Eric Duminil
Browse files
Moving functions from h to cpp
parent
73671b5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/co2_sensor.cpp
View file @
0abf60b4
...
@@ -56,6 +56,8 @@ namespace sensor {
...
@@ -56,6 +56,8 @@ namespace sensor {
void
calibrateSensorToSpecificPPM
(
int32_t
calibrationLevel
);
void
calibrateSensorToSpecificPPM
(
int32_t
calibrationLevel
);
void
calibrateSensorRightNow
(
int32_t
calibrationLevel
);
void
calibrateSensorRightNow
(
int32_t
calibrationLevel
);
void
setAutoCalibration
(
int32_t
autoCalibration
);
void
setAutoCalibration
(
int32_t
autoCalibration
);
void
setTimer
(
int32_t
timestep
);
void
resetSCD
();
void
initialize
()
{
void
initialize
()
{
#if defined(ESP8266)
#if defined(ESP8266)
...
...
ampel-firmware/co2_sensor.h
View file @
0abf60b4
...
@@ -12,8 +12,6 @@ namespace sensor {
...
@@ -12,8 +12,6 @@ namespace sensor {
void
initialize
();
void
initialize
();
bool
processData
();
bool
processData
();
void
startCalibrationProcess
();
void
startCalibrationProcess
();
void
setTimer
(
int32_t
timestep
);
void
resetSCD
();
float
getTemperatureOffset
();
float
getTemperatureOffset
();
}
}
#endif
#endif
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