"...git@transfer.hft-stuttgart.de:simstadt/simstadtpy.git" did not exist on "b886d1a31dc064a03af050c6dbe521d3d899a4cb"
Commit fc87b9eb authored by Eric Duminil's avatar Eric Duminil
Browse files

More doc

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