Datasheet
Drawing Bitmaps
Wiring for the Bitmap Example
Drawing bitmaps from the on-board micro SD card requires a few more connections to communicate with the SD card.
The library allows you to use any pins. The Arduino connections listed below match the code in the "bmp" example
from the library:
GND -> GND (G)
5v -> VIN (+)
#7 -> SDCS (SC)
#4 -> DC
#6 -> RST (R)
#5 -> OLEDCS (OC)
#11 -> MOSI (SI)
#12 -> MISO (SO)
#13 -> SCLK (CL)
Note that the Bitmap example code uses hardware SPI wiring for maximum speed. You can still use software
SPI, but make sure that the pin definitions match your wiring and that you modify the example to select the
Software SPI option (#1) in the code. The SPI pins shown are for Atmega-328 processors. To use this wiring
on other processors, software SPI must be used.
© Adafruit Industries https://learn.adafruit.com/adafruit-1-5-color-oled-breakout-board Page 12 of 18