leontti / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

SSD1306 I2C pins? #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

my OLED display has only VCC,GND,SCL,SDA pins

and I uncommented 

U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE);    // I2C / TWI 

Q: which pins I have to use?

Original issue reported on code.google.com by britzel...@gmail.com on 13 Mar 2014 at 5:42

GoogleCodeExporter commented 9 years ago
The I2C pins from your Arduino Board:
http://arduino.cc/de/Reference/Wire

Original comment by olikr...@gmail.com on 13 Mar 2014 at 6:16

GoogleCodeExporter commented 9 years ago
thanks, but still no luck.

I purchased the display at eBay

http://www.ebay.de/itm/181287662115

There is also a link to software that works for me.

Original comment by britzel...@gmail.com on 13 Mar 2014 at 1:42

GoogleCodeExporter commented 9 years ago
There is an updated version of u8glib attached to this thread:
http://forum.arduino.cc/index.php?topic=219419.15
I think it discusses the same oled display. Maybe this also solves your problem.

Original comment by olikr...@gmail.com on 13 Mar 2014 at 8:36

GoogleCodeExporter commented 9 years ago
thanks a lot.

I'll check it.

Original comment by britzel...@gmail.com on 13 Mar 2014 at 10:27

GoogleCodeExporter commented 9 years ago
It works perfectly. I tested most of the examples

with uncommented U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NO_ACK);

and connected like described here

http://arduino.cc/de/Reference/Wire

Original comment by britzel...@gmail.com on 13 Mar 2014 at 11:00

GoogleCodeExporter commented 9 years ago
I also can confirm that it works the right way:
http://forum.arduino.cc/index.php?topic=219419.msg1637718#msg1637718

Original comment by ahvann...@gmail.com on 17 Mar 2014 at 12:52

GoogleCodeExporter commented 9 years ago
Great. Thanks for the feedback.

Original comment by olikr...@gmail.com on 17 Mar 2014 at 6:28

GoogleCodeExporter commented 9 years ago
closing this...

Original comment by olikr...@gmail.com on 16 Jun 2014 at 7:07

GoogleCodeExporter commented 9 years ago

Original comment by olikr...@gmail.com on 16 Jun 2014 at 7:08

GoogleCodeExporter commented 9 years ago
i have leonardo, but the pins SDA and SCl are d2 and d3, no A4 and A5...it has 
any difference on the programing? how i declarate the correct pins on leonardo ?
thanks

Original comment by antenor...@gmail.com on 10 Sep 2014 at 1:46

GoogleCodeExporter commented 9 years ago
There should be no difference for the software. Just use these specific 
leonardo pins.

Original comment by olikr...@gmail.com on 10 Sep 2014 at 6:24

GoogleCodeExporter commented 9 years ago
Thank you very much Oliver for your work. It works fot my cheap OLED Display 
from ebay!. THANKS a lot from a newbe :-)

Original comment by Martin.G...@gmail.com on 14 Dec 2014 at 12:37

GoogleCodeExporter commented 9 years ago
Glad to see that this lib works for you.
Grüße aus Böblingen

Original comment by olikr...@gmail.com on 14 Dec 2014 at 2:04