We have an example sketch in the library showing how to display full color bitmap images stored on an SD card. You'll need a microSD card such as this one . This example will only work for Arduino v1.0 and later.
You'll also need an image. We suggest starting with this bitmap of a flower If you want to later use your own image, use an image editing tool and crop your image to no larger than 64 pixels high and 96 pixels wide. Save it as a 24-bit color BMP file - it must be 24-bit color format to work, even if it was originally a 16-bit color image - becaue of the way BMPs are stored and displayed!
Copy the violet.bmp to the microSD card and insert it into the back of the breakout board.
We'll have to add an extra 2 wires so we can 'select' and 'receive data' from the SD card
Connect the third pin SD ChipSelect of the OLED (gray wire) to pin #18 of the 74LVC245. Then connect pin #2 of the 74LVC245 to Arduino Digital #4. This is the pin to select that we want to talk to the microSD card.
Then connect second-from-the bottom pin of the OLED - SDOUT - with a wire directly to Arduino Digital #12 this is the longer white wire shown - this wire does not need to be level shifted.
Add the following two connections between the breakout board and the Arduino:
- SDCS (SC) - Digital #4.(Gray Wire)
- MISO (SO) - Digital #12 (Orange Wire)