1.3" SH1106 OLED from ebay

I have bought a number of those OLED displays they use the SSH1106 controller apparently. I have read the datasheet and tried to program them. It works but I am getting a few pixels "lost" on the left hand side and a few pixels "extra" ont he right hand side.

I attach a picture of a screen full of characters you can see a few pixels missing on the left hand side.

I cannot see what I am doign wrong in the code, so I assume I have been sold daft units. However this is the second batch I am buying from ebay and from another vendor.

It could well be that these are all rejects from some stupendously large order, and as they are sort of working, they made it to ebay.

Has anyone here got better luck ?

The SH1106 display supports 132 columns. However OLED displays often only have a size of 128x64 pixel. If the visible display is smaller than the controller RAM, some columns are not visible. It seems to be very commen, that the two left and two right columns are invisible.

Oliver

Many thanks! Now I understand what the problem was. I have modified my library and now I am getting 21 characters instead of 22, but at least they are not chopped.