mirror of
https://github.com/Eigenbaukombinat/ebk_co2ampel.git
synced 2024-11-24 15:20:20 +01:00
Nach Diskussion mit meinem Sohn das "Gelb" etwas "gelber" gemacht...
This commit is contained in:
parent
5af758fd8b
commit
177a90e773
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ void set_led_color(int co2) {
|
||||||
pixels.fill(pixels.Color(0,0,0)); // Grün
|
pixels.fill(pixels.Color(0,0,0)); // Grün
|
||||||
pixels.setPixelColor(4,pixels.Color(0,2,0));
|
pixels.setPixelColor(4,pixels.Color(0,2,0));
|
||||||
} else if (co2 < YELLOW_CO2) {
|
} else if (co2 < YELLOW_CO2) {
|
||||||
pixels.fill(pixels.Color(40,30,0)); // Gelb
|
pixels.fill(pixels.Color(50,30,0)); // Gelb
|
||||||
} else {
|
} else {
|
||||||
blinkState+=blinkDirection;
|
blinkState+=blinkDirection;
|
||||||
if( (blinkState<90) & (blinkState>0) ) {
|
if( (blinkState<90) & (blinkState>0) ) {
|
||||||
|
|
Loading…
Reference in a new issue