diff --git a/README.md b/README.md index 87ceb195..9b909541 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,5 @@ Description: https://github.com/olikraus/u8g2/wiki Issue Tracker: https://github.com/olikraus/u8g2/issues -Download (2.34.1): https://github.com/olikraus/U8g2_Arduino/archive/master.zip +Download (2.34.2): https://github.com/olikraus/U8g2_Arduino/archive/master.zip diff --git a/library.properties b/library.properties index eb8d11cd..1accac42 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=U8g2 -version=2.34.1 +version=2.34.2 author=oliver maintainer=oliver sentence=Monochrome LCD, OLED and eInk Library. Display controller: SSD1305, SSD1306, SSD1309, SSD1312, SSD1316, SSD1318, SSD1320, SSD1322, SSD1325, SSD1327, SSD1329, SSD1606, SSD1607, SH1106, SH1107, SH1108, SH1122, T6963, RA8835, LC7981, PCD8544, PCF8812, HX1230, UC1601, UC1604, UC1608, UC1610, UC1611, UC1617, UC1638, UC1701, ST7511, ST7528, ST7565, ST7567, ST7571, ST7586, ST7588, ST75160, ST75256, ST75320, NT7534, ST7920, IST3020, IST3088, IST7920, LD7032, KS0108, KS0713, HD44102, T7932, SED1520, SBN1661, IL3820, MAX7219, GP1287, GP1247, GU800. Interfaces: I2C, SPI, Parallel. diff --git a/src/clib/u8x8_d_ssd1306_96x40.c b/src/clib/u8x8_d_ssd1306_96x40.c index 7a16f395..0bb2d6d3 100644 --- a/src/clib/u8x8_d_ssd1306_96x40.c +++ b/src/clib/u8x8_d_ssd1306_96x40.c @@ -228,7 +228,7 @@ static const uint8_t u8x8_d_ssd1306_96x39_init_seq[] = { U8X8_C(0x0ae), /* display off */ U8X8_CA(0x0d5, 0x080), /* clock divide ratio (0x00=1) and oscillator frequency (0x8) */ U8X8_CA(0x0a8, 0x027), /* multiplex ratio */ - U8X8_CA(0x0d3, 39), /* display offset, issue 1959 */ + U8X8_CA(0x0d3, 0), /* display offset, issue 1959 */ U8X8_C(0x040), /* set display start line to 0 */ U8X8_CA(0x08d, 0x014), /* [2] charge pump setting (p62): 0x014 enable, 0x010 disable, 0.66 OLED 0x14*/ U8X8_CA(0x020, 0x000), /* horizontal addressing mode */ @@ -239,7 +239,7 @@ static const uint8_t u8x8_d_ssd1306_96x39_init_seq[] = { // U8X8_C(0x0a0), /* segment remap a0/a1*/ // U8X8_C(0x0c0), /* c0: scan dir normal, c8: reverse */ - U8X8_CA(0x0da, 0x002), /* com pin HW config, sequential com pin config (bit 4), disable left/right remap (bit 5), 0.66 OLED */ + U8X8_CA(0x0da, 0x010), /* com pin HW config, sequential com pin config (bit 4), disable left/right remap (bit 5), issue 1959: 0x010 */ U8X8_CA(0x081, 0x0af), /* [2] set contrast control */ U8X8_CA(0x0d9, 0x0f1), /* [2] pre-charge period 0x0f1 */ U8X8_CA(0x0db, 0x020), /* vcomh deselect level */