olikraus %!s(int64=8) %!d(string=hai) anos
pai
achega
c7c2b4e253
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 1 1
      library.properties
  2. 4 4
      src/clib/u8x8_d_uc1638.c

+ 1 - 1
library.properties

@@ -1,5 +1,5 @@
 name=U8g2
-version=2.19.1
+version=2.19.2
 author=oliver <olikraus@gmail.com>
 maintainer=oliver <olikraus@gmail.com>
 sentence=Monochrome LCD, OLED and eInk Library. Display controller: SSD1305, SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1329, SSD1606, SSD1607, SH1106, T6963, RA8835, LC7981, PCD8544, PCF8812, UC1604, UC1608, UC1610, UC1611, UC1701, ST7565, ST7567, ST7588, NT7534, IST3020, ST7920, LD7032, KS0108, SED1520, SBN1661, IL3820, MAX7219. Interfaces: I2C, SPI, Parallel.

+ 4 - 4
src/clib/u8x8_d_uc1638.c

@@ -157,12 +157,12 @@ static const u8x8_display_info_t u8x8_uc1638_160x128_display_info =
   
   /* post_chip_enable_wait_ns = */ 10,	/* */
   /* pre_chip_disable_wait_ns = */ 20,	/* */
-  /* reset_pulse_width_ms = */ 1, 	/* */
-  /* post_reset_wait_ms = */ 10, 	
+  /* reset_pulse_width_ms = */ 5, 	/* */
+  /* post_reset_wait_ms = */ 150, 	
   /* sda_setup_time_ns = */ 30,		/* */
   /* sck_pulse_width_ns = */ 65,	/* */
-  /* sck_clock_hz = */ 8000000UL,	/* since Arduino 1.6.0, the SPI bus speed in Hz. Should be  1000000000/sck_pulse_width_ns */
-  /* spi_mode = */ 0,		/* active high, rising edge */
+  /* sck_clock_hz = */ 1000000UL,	/* since Arduino 1.6.0, the SPI bus speed in Hz. Should be  1000000000/sck_pulse_width_ns */
+  /* spi_mode = */ 3,		/* active high, rising edge */
   /* i2c_bus_clock_100kHz = */ 4,
   /* data_setup_time_ns = */ 30,	/*  */
   /* write_pulse_width_ns = */ 35,	/*  */