Increase scroll speed for smoother look

This commit is contained in:
Tomislav Kopić 2024-11-07 20:06:15 +01:00
parent 9f36c1c42d
commit e8e16bdb8b

View File

@ -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();