Browse Source

Update ultralcd_st7920_u8glib_rrd.h

Fixed delay-times during Init. REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER won't get initialized on some Boards because delay was to short.
Souko 10 years ago
parent
commit
e7ecf14d0c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ultralcd_st7920_u8glib_rrd.h

+ 2
- 2
Marlin/ultralcd_st7920_u8glib_rrd.h View File

@@ -55,11 +55,11 @@ uint8_t u8g_dev_rrd_st7920_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, uint8_t msg, vo
55 55
         WRITE(ST7920_CLK_PIN,1);
56 56
 
57 57
         ST7920_CS();
58
-        u8g_Delay(90);                 //initial delay for boot up
58
+        u8g_Delay(120);                 //initial delay for boot up
59 59
         ST7920_SET_CMD();
60 60
         ST7920_WRITE_BYTE(0x08);       //display off, cursor+blink off
61 61
         ST7920_WRITE_BYTE(0x01);       //clear CGRAM ram
62
-        u8g_Delay(10);                 //delay for CGRAM clear
62
+        u8g_Delay(15);                 //delay for CGRAM clear
63 63
         ST7920_WRITE_BYTE(0x3E);       //extended mode + GDRAM active
64 64
         for(y=0;y<HEIGHT/2;y++)        //clear GDRAM
65 65
         {

Loading…
Cancel
Save