codebuild, issue #1642

This commit is contained in:
kraus 2021-10-20 22:07:29 +02:00
parent b8e031af87
commit 393c3c2fe9
2 changed files with 23 additions and 2 deletions

View File

@ -204,7 +204,7 @@ static const uint8_t u8x8_d_st75160_jm16096_init_seq[] = {
U8X8_C( 0x032 ), /* analog circuit set */
U8X8_A( 0x000 ), /* code example: OSC Frequency adjustment */
U8X8_A( 0x001 ), /* Frequency on booster capacitors 1 = 6KHz? */
U8X8_A( 0x000 ), /* Bias: 1: 1/13, 2: 1/12, 3: 1/11, 4:1/10, 5:1/9 */
U8X8_A( 0x004 ), /* Bias: 1: 1/13, 2: 1/12, 3: 1/11, 4:1/10, 5:1/9 */
//U8X8_C( 0x031 ), /* select 01 commands */
U8X8_C( 0x020 ), /* gray levels */
@ -240,7 +240,7 @@ static const uint8_t u8x8_d_st75160_jm16096_init_seq[] = {
//U8X8_C( 0x030 ), /* select 00 commands */
U8X8_C( 0xca ), /* display control, 3 args follow */
U8X8_A( 0x00 ), /* 0x00: no clock division, 0x04: devide clock */
U8X8_A( 159 ), /* 1/160 duty value from the DS example code */
U8X8_A( 95 ), /* 1/96 duty */
U8X8_A( 0x20 ), /* nline off */
//U8X8_C( 0x030 ), /* select 00 commands */

View File

@ -1308,6 +1308,27 @@ struct controller controller_list[] =
}
},
{
"st75160", 20, 12, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_011", "", COM_4WSPI|COM_3WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,
{
{ "jm16096" },
{ NULL }
},
},
/* takeover i2c from ST75256 (not sure whether this is correct: */
/* the ST75256 has the same I2C protocol as the SSD13xx, BUT: for arguments have the data bit set!!!! */
/* this means, we need to implement a u8x8_cad_ssd13xx_i2c procedure with cad 011 functionality */
/* done: u8x8_cad_st75256_i2c */
{
"st75160", 32, 16, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_st75256_i2c", "i2c", COM_I2C,
"", /* is_generate_u8g2_class= */ 1,
{
{ "jm16096" },
{ NULL }
}
},
{
"st75256", 32, 16, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_011", "", COM_4WSPI|COM_3WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,