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

More doc

parent d9dd6a30
Pipeline #5896 failed with stage
in 20 seconds
......@@ -71,9 +71,11 @@ void loop() {
// Check if air is good enough
if (co2 <= 1000) {
// Light the LED green if CO2 ppm is low
// position, red, green, blue
led_ring.setPixelColor(which_led, 0, 255, 0);
} else {
// Red otherwise.
// position, red, green, blue
led_ring.setPixelColor(which_led, 255, 0, 0);
}
led_ring.show();
......
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