jesse37230 / u8glib

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

bug in sleep mode sequence #298

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In ug_dev_ssd1306_128x64.c, the following code is present.....

static const uint8_t u8g_dev_ssd13xx_sleep_on[] PROGMEM = {
  U8G_ESC_ADR(0),           /* instruction mode */
  U8G_ESC_CS(1),             /* enable chip */
  0x0ae, /* display off */      
  U8G_ESC_CS(1),             /* disable chip */    <--------------------------erroneous code.  This should be U8G_ESC_CS(0)  
  U8G_ESC_END                /* end of sequence */
};

static const uint8_t u8g_dev_ssd13xx_sleep_off[] PROGMEM = {
  U8G_ESC_ADR(0),           /* instruction mode */
  U8G_ESC_CS(1),             /* enable chip */
  0x0af, /* display on */      
  U8G_ESC_DLY(50),       /* delay 50 ms */
  U8G_ESC_CS(1),             /* disable chip */     <--------------------------erroneous code.  This should be U8G_ESC_CS(0)  
  U8G_ESC_END                /* end of sequence */
};

Original issue reported on code.google.com by olikr...@gmail.com on 12 Nov 2014 at 7:57

GoogleCodeExporter commented 8 years ago
the problem is present in ALL devices with a sleep sequence

Original comment by olikr...@gmail.com on 12 Nov 2014 at 8:10

GoogleCodeExporter commented 8 years ago
affected files:

HG: Geändert csrc/u8g_dev_ld7032_60x32.c
HG: Geändert csrc/u8g_dev_pcd8544_84x48.c
HG: Geändert csrc/u8g_dev_ssd1306_128x32.c
HG: Geändert csrc/u8g_dev_ssd1306_128x64.c
HG: Geändert csrc/u8g_dev_ssd1309_128x64.c
HG: Geändert csrc/u8g_dev_ssd1322_nhd31oled_bw.c
HG: Geändert csrc/u8g_dev_ssd1322_nhd31oled_gr.c
HG: Geändert csrc/u8g_dev_ssd1325_nhd27oled_bw_new.c
HG: Geändert csrc/u8g_dev_ssd1325_nhd27oled_gr_new.c
HG: Geändert csrc/u8g_dev_st7565_64128n.c
HG: Geändert csrc/u8g_dev_st7565_dogm128.c
HG: Geändert csrc/u8g_dev_st7565_dogm132.c
HG: Geändert csrc/u8g_dev_st7565_lm6059.c
HG: Geändert csrc/u8g_dev_st7565_lm6063.c
HG: Geändert csrc/u8g_dev_st7565_nhd_c12832.c
HG: Geändert csrc/u8g_dev_st7565_nhd_c12864.c

This is now fixed.

Original comment by olikr...@gmail.com on 12 Nov 2014 at 8:15