Ultra novice here: Just trying to get the random function removed from the Animated Gif player library sample. I seem to have succeeded by commenting out
// Seed the random number generator //randomSeed(analogRead(14)); //Serial.begin(115200);
and removing ‘random’ from
int index = random(num_files);
But now it just plays one gif over and over. What’s more strange to me is that it skips over the first one in the list. I know the gifs on my sd card are fine because when randomizing is happening in the default program, it eventually plays all of them. Clearly I’m missing (or need to add) some kind of +1 function somewhere to make it progress down the list.