I ordered a few of these OLEDs off ebay: http://www.ebay.com/itm/Blue-0-96-inch-I2C-TWI-Serial-128-X-64-OLED-Display-Module-for-Arduino-/141325238804
In the picture they have 4 pins , but the ones I received have 6 (GND, VCC, D0, D1, RST, DC) http://imgur.com/7wSF3CX
I'm having a hard time getting this display to work. the listing has a link to the u8glib github for arduino source code and hook up guide, but it doesn't mention I2C displays at all. I downloaded the library and uploaded the Hello World example using U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE);
The screen stayed black and so since I know adafruit's OLEDs use a reset pin, I tried their library but still no luck. after poking around the forum I found this: http://forum.arduino.cc/index.php?PHPSESSID=h5bnact9gd6qfan4l653qhiim6&topic=219419.msg1626121#msg1626121
I tried using Oliver's modified library that gets around the no acknowledgement but still I appear to be SOL.
I'm sure I have VCC, GND, D0 and D1 hooked up correctly, based on the datasheet D0 is the SCLK and D1 is SDA. For the DC pin I tried connecting it between ground and 3.3V to see if either of those were the right addresses but neither worked. Here's the datasheet: http://www.upgradeindustries.com/media/ebay/Photos/OLED/datasheet.pdf
I did also try using the I2C sniffer code, to see if I could find out what the address is, but because there's no acknowledge, the code doesn't detect the display.
Can anyone help me figure out what I'm missing or what I need to do to get these up and running?