OLED display + SD card problem

Can someone explain to me how to display saved files from the SD card on the OLED display?
My display is a SSD1306, which communicates with the Arduino UNO w/ i2c and the SD card through SPI.

Thanks.

Can someone explain to me how to display saved files from the SD card on the OLED display?

You can't display a file on an OLED. You can display text, possibly read from a file, on the OLED.

What have you tried?

Presumably you have the oled working by itself? I use the adafruit library with mine, and once you sift through all the fancy graphics that the example does it's easy to see how to print text. I use mine to display the time and temperature, dead simple.

Then have you got the SD card reading with the examples that came with its library? Dead simple to use since it just reads a character at a time and it's easy to print those to the serial monitor as a test. Then just as easy I'm sure to print the character to the display.

But you can't, as PaulS said, print a file as such; reading an SD card is character based. So look for a newline in your data to demarcate each record, or if there are no newlines, just count characters. Then use that to display the file a line at a time.

In other words, read character by character, and display each. Then every time you find a newline, or count a certain number of characters, pause with that now-finished record in view, and wait for a certain time to elapse or say a button press, move cursor back to start, and read the next character which is the start of the new record.