Commit 27678385 authored by Eric Duminil's avatar Eric Duminil
Browse files

Comments

parent daf08852
Pipeline #5160 failed with stage
in 52 seconds
......@@ -32,6 +32,7 @@ SCD30 sensor;
int which_led;
uint16_t co2;
// The code in setup() will be run once, at startup.
void setup() {
// Transmission speed
Serial.begin(115200);
......@@ -48,6 +49,7 @@ void setup() {
sensor.setMeasurementInterval(10);
}
// The code in loop() will be run as long as the micro-controller is powered up, in an infinite loop.
void loop() {
if (sensor.dataAvailable()) {
// New measurement is available. Let's display it!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment