1
0
Fork 0

LCD: Animate at 4 frame per second

Given the animations we have, 4 frames per second seems to fit the pacing
better and improve readability.
This commit is contained in:
trotFunky 2024-03-18 16:50:13 +00:00
parent b59de6b690
commit 77f59a1fb8

View file

@ -41,7 +41,7 @@ private:
static uint8_t bitmap[528]; static uint8_t bitmap[528];
uint32_t lastFrameTime = 0; uint32_t lastFrameTime = 0;
/* Delay between two frames, in milliseconds. Above 10 FPS is mushy, avoid. */ /* Delay between two frames, in milliseconds. Above 10 FPS is mushy, avoid. */
static constexpr uint32_t frameTarget = 1000 / 7; static constexpr uint32_t frameTarget = 1000 / 4;
}; };
#endif //JIN_BARBAPAPA_LCD_H #endif //JIN_BARBAPAPA_LCD_H