Increase scroll speed for smoother look
This commit is contained in:
parent
9f36c1c42d
commit
e8e16bdb8b
@ -240,7 +240,7 @@ bool fetchWeatherData() {
|
|||||||
|
|
||||||
int scrollPos = SCREEN_WIDTH; // Global variable to keep track of the scroll position
|
int scrollPos = SCREEN_WIDTH; // Global variable to keep track of the scroll position
|
||||||
unsigned long lastScrollTime = 0; // To control the scroll speed
|
unsigned long lastScrollTime = 0; // To control the scroll speed
|
||||||
const int scrollDelay = 75; // Delay in milliseconds between scroll updates
|
const int scrollDelay = 40; // Delay in milliseconds between scroll updates
|
||||||
|
|
||||||
void displayWeatherData() {
|
void displayWeatherData() {
|
||||||
display.clearDisplay();
|
display.clearDisplay();
|
||||||
|
Loading…
Reference in New Issue
Block a user