diff --git a/platformio.ini b/platformio.ini index cf490c6..51f97f7 100644 --- a/platformio.ini +++ b/platformio.ini @@ -22,6 +22,7 @@ upload_speed = 921600 ; -mfix-esp32-psram-cache-issue lib_deps = - adafruit/Adafruit SSD1306@^2.4.5 - adafruit/Adafruit BusIO@^1.7.3 - arkhipenko/TaskScheduler@^3.3.0 + adafruit/Adafruit SSD1306@^2.4.5 + adafruit/Adafruit BusIO@^1.7.3 + arkhipenko/TaskScheduler@^3.3.0 + adafruit/Adafruit GFX Library@^1.11.9 diff --git a/src/main.cpp b/src/main.cpp index e883d1a..62f7ad5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,7 +5,7 @@ // 'ENABLE_SCREEN' : whether if playing info. displayed or not. // //======================== -// #define ENABLE_SCREEN +#define ENABLE_SCREEN //======================== #define GAIN_MAX 1.0 // if 1.0 is too loud, give max. limit here. @@ -128,6 +128,8 @@ int get_music_list(fs::FS &fs, const char *dirname, uint8_t levels, String wavli if (file.isDirectory()) { } else { String temp = file.name(); + // Serial.println("looking at file: " + temp); + temp.toLowerCase(); if (temp.endsWith(".wav")) { wavlist[i] = temp; i++;