Pixelreihenfolge beim Plasma aktualisiert.
This commit is contained in:
parent
8f8d0e7bf5
commit
411d155187
|
@ -524,7 +524,8 @@ void NeoPatterns::PlasmaUpdate()
|
||||||
|
|
||||||
// Scale the color up to 0..7 . Max brightness is 7.
|
// Scale the color up to 0..7 . Max brightness is 7.
|
||||||
//strip.setPixelColor(col + (edge * row), strip.Color(color_4, 0, 0) );
|
//strip.setPixelColor(col + (edge * row), strip.Color(color_4, 0, 0) );
|
||||||
setPixelColor(col + (edge * row), Color(color_1, color_2, color_3));
|
|
||||||
|
setPixelColor(xyToPos(row, col), Color(color_1, color_2, color_3));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
show();
|
show();
|
||||||
|
|
|
@ -36,7 +36,7 @@ class NeoPatterns : public Adafruit_NeoPixel
|
||||||
void Icon(uint8_t fontchar, String iconcolor = "#FFFFFF", uint8_t interval = 30);
|
void Icon(uint8_t fontchar, String iconcolor = "#FFFFFF", uint8_t interval = 30);
|
||||||
void IconUpdate();
|
void IconUpdate();
|
||||||
void IconComplete();
|
void IconComplete();
|
||||||
void Plasma(float phase = 0, float phaseIncrement = 0.03, float colorStretch = 0.3, uint8_t interval = 60); // 0.08 and 0.11
|
void Plasma(float phase = 0, float phaseIncrement = 0.08, float colorStretch = 0.11, uint8_t interval = 60); // 0.08 and 0.11 // 0.03 und 0.3
|
||||||
void PlasmaUpdate();
|
void PlasmaUpdate();
|
||||||
|
|
||||||
void SetColor1(uint32_t color);
|
void SetColor1(uint32_t color);
|
||||||
|
|
Loading…
Reference in New Issue