Merge pull request #2471 from fherrera124/fherrera124-fix-st7920
Increment delay at the end of init secuence
This commit is contained in:
commit
a5f674fedd
|
@ -52,7 +52,7 @@ static const uint8_t u8x8_d_st7920_init_seq[] = {
|
||||||
U8X8_C(0x006), /* Entry mode: Cursor move to right ,DDRAM address counter (AC) plus 1, no shift */
|
U8X8_C(0x006), /* Entry mode: Cursor move to right ,DDRAM address counter (AC) plus 1, no shift */
|
||||||
U8X8_C(0x002), /* disable scroll, enable CGRAM adress */
|
U8X8_C(0x002), /* disable scroll, enable CGRAM adress */
|
||||||
U8X8_C(0x001), /* clear RAM, needs 1.6 ms */
|
U8X8_C(0x001), /* clear RAM, needs 1.6 ms */
|
||||||
U8X8_DLY(4), /* delay 2ms */
|
U8X8_DLY(10), /* delay 10ms */
|
||||||
|
|
||||||
|
|
||||||
U8X8_END_TRANSFER(), /* disable chip */
|
U8X8_END_TRANSFER(), /* disable chip */
|
||||||
|
@ -403,4 +403,4 @@ uint8_t u8x8_d_st7920_256x32(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *a
|
||||||
return u8x8_d_st7920_common(u8x8, msg, arg_int, arg_ptr);
|
return u8x8_d_st7920_common(u8x8, msg, arg_int, arg_ptr);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue