Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
37d52ef2
Commit
37d52ef2
authored
Mar 18, 2022
by
Eric Duminil
Browse files
Seems to compile
parent
0915ed04
Changes
2
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/co2_sensor.cpp
View file @
37d52ef2
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
// https://github.com/sparkfun/SparkFun_SCD30_Arduino_Library
// https://github.com/sparkfun/SparkFun_SCD30_Arduino_Library
#include "src/lib/SparkFun_SCD30_Arduino_Library/src/SparkFun_SCD30_Arduino_Library.h" // From: http://librarymanager/All#SparkFun_SCD30
#include "src/lib/SparkFun_SCD30_Arduino_Library/src/SparkFun_SCD30_Arduino_Library.h" // From: http://librarymanager/All#SparkFun_SCD30
#include "s8_uart.h" // Not used yet
namespace
config
{
namespace
config
{
const
uint16_t
measurement_timestep_bootup
=
5
;
// [s] Measurement timestep during acclimatization.
const
uint16_t
measurement_timestep_bootup
=
5
;
// [s] Measurement timestep during acclimatization.
const
uint8_t
max_deviation_during_bootup
=
20
;
// [%]
const
uint8_t
max_deviation_during_bootup
=
20
;
// [%]
...
...
platformio.ini
View file @
37d52ef2
...
@@ -27,6 +27,7 @@ framework = arduino
...
@@ -27,6 +27,7 @@ framework = arduino
monitor_speed
=
115200
monitor_speed
=
115200
lib_deps
=
lib_deps
=
MCCI
LoRaWAN
LMIC
library
MCCI
LoRaWAN
LMIC
library
S8_UART
build_flags
=
build_flags
=
-D
ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D
ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D
CFG_eu868
=
1
-D
CFG_eu868
=
1
...
...
Write
Preview
Markdown
is supported
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