Skip to content

Commit

Permalink
Fixed QSPI speed of LilyGo AMOLED 1.64
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Bank authored and Laurence Bank committed Oct 16, 2024
1 parent c5b7185 commit 0ba2562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=bb_spi_lcd
version=2.7.0
version=2.7.1
author=Larry Bank
maintainer=Larry Bank
sentence=Color SPI LCD+OLED library with many unique features.
Expand Down
4 changes: 2 additions & 2 deletions src/bb_spi_lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6979,7 +6979,7 @@ int BB_SPI_LCD::begin(int iDisplayType)
case DISPLAY_T_TRACK: // ESP32-S3 + 126x294 AMOLED
pinMode(4, OUTPUT); // MOSFET power control
digitalWrite(4, 1); // turn on the AMOLED display
spilcdInit(&_lcd, LCD_JD9613, FLAGS_FLIPX, 40000000, 9, 7, 8, 10, -1, 6, 5, 1);
spilcdInit(&_lcd, LCD_JD9613, FLAGS_FLIPX, 32000000, 9, 7, 8, 10, -1, 6, 5, 1);
break;
case DISPLAY_T_QT_C6:
spilcdInit(&_lcd, LCD_GC9107, 0, 40000000, 14, 19, 20, 2, -1, 15, 18,1);
Expand Down Expand Up @@ -7107,7 +7107,7 @@ int BB_SPI_LCD::begin(int iDisplayType)
pinMode(16, OUTPUT); // power enable for LCD
digitalWrite(16, 1);
// CS=10, SCK=12, D0=11, D1=13, D2=14, D3=15, RST=17, BL=-1
qspiInit(&_lcd, LCD_ICNA3311, FLAGS_NONE, 1000000, 10,12,11,13,14,15,17,-1);
qspiInit(&_lcd, LCD_ICNA3311, FLAGS_NONE, 40000000, 10,12,11,13,14,15,17,-1);
break;

case DISPLAY_T_DISPLAY_S3:
Expand Down

0 comments on commit 0ba2562

Please sign in to comment.