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:
Teo-CD 2024-03-18 13:39:31 +00:00
parent 8935a6ee6d
commit 4dcf4e83bb

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