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:
parent
8935a6ee6d
commit
4dcf4e83bb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue