Montag95 / u8glib

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

2 pixel horisontal shift #282

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. But this 
http://www.ebay.co.uk/itm/131239270535?_trksid=p2059210.m2749.l2649&ssPageName=S
TRK%3AMEBIDX%3AIT
2. Set the jumpers for i2c (because board missing a breakout for CS (SPI)?)
3. Use the Graphics Test example with SSD1306 I2C (Opt_None) 

It works somewhat fine, and I get a lot of fine graphics output. Only thing is, 
the two leftmost pixels are missing and the rightmost pixels are garbled 
semi-random output.

When I changed the WIDTH parameter to 130, I fixed the rightmost pixels, which 
are now usable. So the display works as such, if I not use the two leftmost 
pixels

Should I just add two to all x-values, or are there some way to fix it?

I am using the latest version of u8glib from this site, using Arduino from 
Ubuntu Trusty repository

Thanks for a great library!

Original issue reported on code.google.com by niels....@gmail.com on 18 Sep 2014 at 6:31

GoogleCodeExporter commented 8 years ago
Also the seller talks about SSD1306, from your description, i assume you have a 
SH1106 based OLED.
You should try to use the SH1106 contstructor.

Original comment by olikr...@gmail.com on 18 Sep 2014 at 6:52

GoogleCodeExporter commented 8 years ago
That did the trick. It seems you should never trust e-bay descriptions blindly 
:-)

Original comment by niels....@gmail.com on 24 Sep 2014 at 7:29

GoogleCodeExporter commented 8 years ago
this is solved...

Original comment by olikr...@gmail.com on 13 Dec 2014 at 5:08