squingito / u8glib

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

Help with NHD-2.23-12832UCB3 #283

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The driver chip for NHD-2.23-12832UCB3 is ssd1305, i'm trying to program it 
with U8GLIB_SSD1306_128X64,
After changing 2 lines in u8g_dev_ssd1306_128x64.c

  0x0a0,                /* segment remap a0/a1*/
  0x0c0,                /* c0: scan dir normal, c8: reverse */

The screen is working fine, the only problem i have now, the screen is shifted 
down adout 10 lines.
Please help me to fix this problem.
Thank you in advance.

Original issue reported on code.google.com by hpvide...@gmail.com on 25 Sep 2014 at 8:11

GoogleCodeExporter commented 8 years ago
Without a picture, this is difficult to say, but in principle, the y position 
is controlled by
u8g_WriteByte(u8g, dev, 0x0b0 | pb->p.page); /* select current page (SSD1306) */

You could try
u8g_WriteByte(u8g, dev, 0x0b0 | (pb->p.page+1)); /* select current page 
(SSD1306) */
or so...

Original comment by olikr...@gmail.com on 25 Sep 2014 at 9:02

GoogleCodeExporter commented 8 years ago
Please see the attached video.
Thank you 

Original comment by hpvide...@gmail.com on 25 Sep 2014 at 10:50

Attachments:

GoogleCodeExporter commented 8 years ago
I think I did it.
Small changes and U8GLIB_SSD1306_128X64 works fine for SSD1305 
(NHD-2.23-12832UCB3)

Thank you help

Original comment by hpvide...@gmail.com on 26 Sep 2014 at 3:31

GoogleCodeExporter commented 8 years ago
sounds good. unfortunately i am somehow unable to see the video

Original comment by olikr...@gmail.com on 26 Sep 2014 at 6:55

GoogleCodeExporter commented 8 years ago
closing the issue...

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