Thank a lot for the pictures.
So, this is what i understand:
- page mapping is ok now
- col offset wrong by 4 pixel
- contrast wrong
- dogm128 a little bit washed out
I have created a new device in the repo: NHD_C12864. So you need to update the repo.
I have added this to the U8gLogo.pde example only (at the moment)
line 75: http://code.google.com/p/u8glib/source/browse/sys/arduino/U8gLogo/U8gLogo.pde
The code for the display is here:
http://code.google.com/p/u8glib/source/browse/csrc/u8g_dev_st7565_nhd_c12864.c
At the moment, this is an exact copy of the DOGM128 code.
-
col offset wrong by 4 pixel
--> change line 79 to "0x004" -
contrast wrong
--> probably change contrast in line 68 to 0x005 (or maybe other values like 0x006 or 0x007)
--> you might also try to change the value in line 55 from 0x0a2 to 0x0a3
Once you find the best values, i would be really glad to add these values to the new device.
Also, let me know if there is something else wrong with the new NHD_C12864 device.
Thanks for testing, Oliver