Arduino Nano and unknown SSD1306 display - how do I hook it up?

Hi,

I found this display among some electronics a friend dumped on me. He said it's a 3-5V SPI/I2C/IIC SSD1306 display, but no schematics or other info available. I've tried several examples and SSD1306 libraries, but no cookie so far. Judging from its dimensions it should be 128*64 or similar 2:1 ratio. I'm not familiar with the interface of this display - how do I hook it up to my Nano so I can start using it? I suspect I'm doing something wrong with the D0/D1 pins, not sure which one is the proper "data" pin.

All I have is a plain Nano (328P) that I power over the same USB connection I program it with - no external power supply, no other ICs, have a bunch of resistors somewhere though.

Thankful for any help

Never mind, all solved - one of my jumper wires was actually broken.

Now the problem of how to get fast screen updates on this thing instead of the slideshow framerate the SSD1306 library I found offers.

I have the same display, but so far have not had but a few minutes to test it. I need to get back to working with it one of these days.

So far I just get partly working display and as you stated slow draw not sure if it is wiring, display or library.

But I am not certain if the SSD1306 library I have is correct for this unit?

spicetraders:
I have the same display, but so far have not had but a few minutes to test it. I need to get back to working with it one of these days.

So far I just get partly working display and as you stated slow draw not sure if it is wiring, display or library.

But I am not certain if the SSD1306 library I have is correct for this unit?

The library I used to test if the display was working was the Adafruit SSD1306 library. It works 100%, even if screen updates are painfully slow.

Edit: found the updated version of their library that now thankfully supports hardware SPI, and the screen updates fast and perfect. http://forum.pjrc.com/threads/26086-Adafruit-SSD1306-hardware-SPI-and-Teensy

Oh, in case anyone else has this display and wonders how the D0/D1 are hooked up, D0 on the display is the CLK, and D1 is MOSI.

So have you set your display up for software SPI or hardware SPI?
another words:
Soft-
D1 (MOSI) = 9
D0 (CLK) = 10
DC = 11
CS = 12
Reset = 13

Hard-
DC = 6
CS = 7
Reset = 8