waveshare 0.96inch OLED display need help

i bought this from waveshare . http://www.wvshare.com/product/0.96inch-OLED-A.htm
the oled display is based on SSD1306 . need some help to connect it with arduino

Post on arduino stackexchange : i2c - need help hooking up an oled display - Arduino Stack Exchange

thanks

Hi

The display should work with U8glib. In the U8glib documentation, D/C is often refered as A0.
I suggest to use 4-wire SPI.

Oliver

Thanks i was able to make it work with u8glib library using 4-wire SPI

using the following constructor

U8GLIB_SSD1306_128X64 u8g(13, 11, 10, 9,8);

Pin configuration was

Arduino Oled Display
13 CLK
11 DIN (SI)
10 CS
9 D/C (A0)
8 RES

the reset pin is required . i used 3.3v arduino pin for vcc .