Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQUEST - 124x68 Fonts off Screen #492

Open
dcwalmsley opened this issue Feb 26, 2019 · 1 comment
Open

REQUEST - 124x68 Fonts off Screen #492

dcwalmsley opened this issue Feb 26, 2019 · 1 comment

Comments

@dcwalmsley
Copy link

I have an Ultipanel 124x68 display and noticed upon compiling your library (1.19.1) with my Marlin 2.0-bugfix that I noticed the display is to the left by 2 columns leaving portion of the font off screen. I modified the code in the u8g_dev_ssd1309_128x64.c file and compiled and this correct my issue,

Line #77-83

static const uint8_t u8g_dev_ssd1309_128x64_data_start[] PROGMEM = {
U8G_ESC_ADR(0), /* instruction mode /
U8G_ESC_CS(1), /
enable chip /
0x010, /
set upper 4 bit of the col adr to 0 /
0x000, /
set lower 4 bit of the col adr to 4 /
U8G_ESC_END /
end of sequence */
};

to

static const uint8_t u8g_dev_ssd1309_128x64_data_start[] PROGMEM = {
U8G_ESC_ADR(0), /* instruction mode /
U8G_ESC_CS(1), /
enable chip /
0x010, /
set upper 4 bit of the col adr to 0 /
0x002, /
set lower 4 bit of the col adr to 4 /
U8G_ESC_END /
end of sequence */
};

Thanks,

Doug Walmsley

@olikraus
Copy link
Owner

Ultipanel 124x68 display

Any datasheet available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants