issue #1538
This commit is contained in:
parent
8a1d041a2c
commit
5480aae819
|
@ -82,6 +82,7 @@ static const uint8_t u8x8_d_st7586s_erc240160_flip1_seq[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t u8x8_d_st7586s_erc240160_init_seq[] = {
|
static const uint8_t u8x8_d_st7586s_erc240160_init_seq[] = {
|
||||||
|
U8X8_START_TRANSFER(),/* enable chip */
|
||||||
U8X8_END_TRANSFER(),/* disable chip */
|
U8X8_END_TRANSFER(),/* disable chip */
|
||||||
// U8G_ESC_RST(1), /* hardware reset */
|
// U8G_ESC_RST(1), /* hardware reset */
|
||||||
U8X8_DLY(60), /* Delay 60 ms */
|
U8X8_DLY(60), /* Delay 60 ms */
|
||||||
|
@ -135,6 +136,7 @@ static const uint8_t u8x8_d_st7586s_erc240160_init_seq[] = {
|
||||||
U8X8_A(0x09F), // 160 pixels
|
U8X8_A(0x09F), // 160 pixels
|
||||||
|
|
||||||
U8X8_C(0x029), // Display ON
|
U8X8_C(0x029), // Display ON
|
||||||
|
U8X8_END_TRANSFER(),/* disable chip */
|
||||||
U8X8_END() /* end of sequence */
|
U8X8_END() /* end of sequence */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -134,6 +134,7 @@ static uint8_t u8x8_d_st7586s_common(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int,
|
||||||
}
|
}
|
||||||
|
|
||||||
static const uint8_t u8x8_d_st7586s_s028hn118a_init_seq[] = {
|
static const uint8_t u8x8_d_st7586s_s028hn118a_init_seq[] = {
|
||||||
|
U8X8_START_TRANSFER(),/* enable chip */
|
||||||
U8X8_END_TRANSFER(),/* disable chip */
|
U8X8_END_TRANSFER(),/* disable chip */
|
||||||
// U8G_ESC_RST(15), /* hardware reset */
|
// U8G_ESC_RST(15), /* hardware reset */
|
||||||
U8X8_DLY(60), /* Delay 60 ms */
|
U8X8_DLY(60), /* Delay 60 ms */
|
||||||
|
@ -190,6 +191,7 @@ static const uint8_t u8x8_d_st7586s_s028hn118a_init_seq[] = {
|
||||||
U8X8_A(0x00C), // issue in the US too
|
U8X8_A(0x00C), // issue in the US too
|
||||||
|
|
||||||
U8X8_C(0x029), // Display ON
|
U8X8_C(0x029), // Display ON
|
||||||
|
U8X8_END_TRANSFER(),/* disable chip */
|
||||||
U8X8_END() /* end of sequence */
|
U8X8_END() /* end of sequence */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,7 @@ static const uint8_t u8x8_d_st7586s_ymc240160_flip1_seq[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t u8x8_d_st7586s_ymc240160_init_seq[] = {
|
static const uint8_t u8x8_d_st7586s_ymc240160_init_seq[] = {
|
||||||
|
U8X8_START_TRANSFER(),/* enable chip */
|
||||||
U8X8_END_TRANSFER(),/* disable chip */
|
U8X8_END_TRANSFER(),/* disable chip */
|
||||||
// U8G_ESC_RST(1), /* hardware reset */
|
// U8G_ESC_RST(1), /* hardware reset */
|
||||||
U8X8_DLY(60), /* Delay 60 ms */
|
U8X8_DLY(60), /* Delay 60 ms */
|
||||||
|
@ -127,6 +128,7 @@ static const uint8_t u8x8_d_st7586s_ymc240160_init_seq[] = {
|
||||||
U8X8_A(0x09F), // 160 pixels
|
U8X8_A(0x09F), // 160 pixels
|
||||||
|
|
||||||
U8X8_C(0x029), // Display ON
|
U8X8_C(0x029), // Display ON
|
||||||
|
U8X8_END_TRANSFER(),/* disable chip */
|
||||||
U8X8_END() /* end of sequence */
|
U8X8_END() /* end of sequence */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue