From 43c1d7563b8bfaa3047bce5b240ce6743e318aeb Mon Sep 17 00:00:00 2001 From: kraus Date: Sat, 4 Aug 2018 18:16:39 +0200 Subject: [PATCH] bugfix, issue #657 --- csrc/u8x8_d_st7567.c | 2 +- sys/arduino/u8g2_page_buffer/HelloWorld/HelloWorld.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csrc/u8x8_d_st7567.c b/csrc/u8x8_d_st7567.c index ede2ca36..82de6000 100644 --- a/csrc/u8x8_d_st7567.c +++ b/csrc/u8x8_d_st7567.c @@ -600,7 +600,7 @@ static const u8x8_display_info_t u8x8_st7567_64x32_display_info = /* pixel_height = */ 32 }; -static const uint8_t u8x8_d_st7567_64x32_init_seq[] = { +static const uint8_t u8x8_st7567_64x32_init_seq[] = { U8X8_START_TRANSFER(), /* enable chip, delay is part of the transfer start */ diff --git a/sys/arduino/u8g2_page_buffer/HelloWorld/HelloWorld.ino b/sys/arduino/u8g2_page_buffer/HelloWorld/HelloWorld.ino index 59d7abd9..379148fb 100644 --- a/sys/arduino/u8g2_page_buffer/HelloWorld/HelloWorld.ino +++ b/sys/arduino/u8g2_page_buffer/HelloWorld/HelloWorld.ino @@ -163,7 +163,7 @@ //U8G2_ST7567_ENH_DG128064_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); //U8G2_ST7567_ENH_DG128064I_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); //U8G2_ST7567_ENH_DG128064I_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); -//U8G2_ST7567_64X32_1_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); +U8G2_ST7567_64X32_1_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); //U8G2_ST75256_JLX172104_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); //U8G2_ST75256_JLX172104_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); //U8G2_ST75256_JLX256128_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); // Uno, Enable U8g2 16 bit mode for this display