Gamma and speed control

This commit is contained in:
cschwinne
2023-07-01 13:20:10 +02:00
parent c16462a0ce
commit 7119999df8
2 changed files with 18 additions and 8 deletions

View File

@@ -4194,10 +4194,15 @@ static const char _data_FX_MODE_WASHING_MACHINE[] PROGMEM = "Washing Machine@!,!
Draws a .gif image from filesystem on the matrix/strip
*/
uint16_t mode_image(void) {
SEGMENT.setUpLeds(); // temporary per-segment buffering
renderImageToSegment(SEGMENT);
for (uint16_t i = 0; i < SEGLEN; i++) {
SEGMENT.setPixelColor(i, SEGMENT.getPixelColor(i)); // temporary, refresh all LEDs for lossy ABL
}
return FRAMETIME;
}
static const char _data_FX_MODE_IMAGE[] PROGMEM = "Image@;;;12";
static const char _data_FX_MODE_IMAGE[] PROGMEM = "Image@!,;;;12;sx=128";
/*
Blends random colors across palette