This commit is contained in:
kraus 2018-03-25 08:37:09 +02:00
parent 69e8620fb2
commit f1c11145e0
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@ static const uint8_t u8x8_d_sh1106_72x40_flip0_seq[] = {
U8X8_START_TRANSFER(), /* enable chip, delay is part of the transfer start */
U8X8_C(0x0a1), /* segment remap a0/a1*/
U8X8_C(0x0c8), /* c0: scan dir normal, c8: reverse */
U8X8_CA(0x0d3, 12), /* display offset, 0.42 OLED */
U8X8_END_TRANSFER(), /* disable chip */
U8X8_END() /* end of sequence */
};
@ -98,6 +99,7 @@ static const uint8_t u8x8_d_sh1106_72x40_flip1_seq[] = {
U8X8_START_TRANSFER(), /* enable chip, delay is part of the transfer start */
U8X8_C(0x0a0), /* segment remap a0/a1*/
U8X8_C(0x0c0), /* c0: scan dir normal, c8: reverse */
U8X8_CA(0x0d3, 24), /* What is the correct offset in flip 1 mode? */
U8X8_END_TRANSFER(), /* disable chip */
U8X8_END() /* end of sequence */
};