This commit is contained in:
kraus 2021-07-31 13:38:09 +02:00
parent 8a1d041a2c
commit 5480aae819
3 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,7 @@ static const uint8_t u8x8_d_st7586s_erc240160_flip1_seq[] = {
};
static const uint8_t u8x8_d_st7586s_erc240160_init_seq[] = {
U8X8_START_TRANSFER(),/* enable chip */
U8X8_END_TRANSFER(),/* disable chip */
// U8G_ESC_RST(1), /* hardware reset */
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_C(0x029), // Display ON
U8X8_END_TRANSFER(),/* disable chip */
U8X8_END() /* end of sequence */
};

View File

@ -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[] = {
U8X8_START_TRANSFER(),/* enable chip */
U8X8_END_TRANSFER(),/* disable chip */
// U8G_ESC_RST(15), /* hardware reset */
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_C(0x029), // Display ON
U8X8_END_TRANSFER(),/* disable chip */
U8X8_END() /* end of sequence */
};

View File

@ -74,6 +74,7 @@ static const uint8_t u8x8_d_st7586s_ymc240160_flip1_seq[] = {
};
static const uint8_t u8x8_d_st7586s_ymc240160_init_seq[] = {
U8X8_START_TRANSFER(),/* enable chip */
U8X8_END_TRANSFER(),/* disable chip */
// U8G_ESC_RST(1), /* hardware reset */
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_C(0x029), // Display ON
U8X8_END_TRANSFER(),/* disable chip */
U8X8_END() /* end of sequence */
};