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 /
};
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