U8glib: Graphics Lib for LCDs and OLEDs

The device U8GLIB_MINI12864 is close. Thank you. The image is still shifted five pixels to the left, with the far right edge filled with garbage pixels. Contrast is set and works but seems to be fixed.

I’ve attempted to read the source code and the datasheets registers and I must admit I don’t understand what I’m looking at. For what it’s worth I think this is the datasheet for the controller http://www.lcd-module.de/eng/pdf/zubehoer/uc1701.pdf

However I did experiment with the u8g_dev_uc1701_mini12864.c file. I messed with this line

  0x0a1,		/* ADC set to reverse. Was a0 now a1 */

I found if I change this value from “a0” to “a1” the image is reversed but does not have pixels shifted.

I also played with this device:

U8GLIB_LM6059 u8g(13, 11, 10, 9);                    // SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9

It does not have contrast adjustment (image is almost impossible to view) and has the top and bottom of the image swapped, but again the pixels are not shifted.

I will post photos shortly.