The pinout ordering is the same for both the 1.27" and 1.5" version of the OLED!
GND -> GND (G)
5v -> VIN (+)
#2 -> SCLK (CL)
#3 -> MOSI (SI)
#4 -> DC
- #5 -> OLEDCS (OC)
#6 -> RST (R)
Now we can run the test software on the Arduino. We'll need to download the library first and install it
Visit the Adafruit SSD1351 library github repository page and click the Download Zip. Or just click the button below:
Copy the folder inside the zip file to the Libraries folder inside your Arduino Sketchbook folder and re-name it to Adafruit_SSD1131. For more details on how to install Arduino libraries, check out our detailed tutorial! http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
You'll also have to install the Adafruit GFX graphics core library at this github repo. Rename it to Adafruit_GFX and install it the same way as the OLED library.
For a detailed tutorial on the Adafruit GFX library, including all the functions available please visit the GFX tutorial page