diff --git a/README.md b/README.md index cfd8b7f1..8b339a8e 100644 --- a/README.md +++ b/README.md @@ -80,10 +80,11 @@ bck=,ws=,do= The NVS parameter "display_config" sets the parameters for an optional display. Syntax is ``` I2C,width=,height=[address=][,HFlip][,VFlip][driver=SSD1306|SSD1326[:1|4]|SSD1327|SH1106] -SPI,width=,height=,cs=[,back=][,speed=][,HFlip][,VFlip][driver=SSD1306|SSD1322|SSD1326[:1|4]|SSD1327|SH1106|SSD1675|ST7735|ST7789] +SPI,width=,height=,cs=[,back=][,speed=][,HFlip][,VFlip][driver=SSD1306|SSD1322|SSD1326[:1|4]|SSD1327|SH1106|SSD1675|ST7735|ST7789[,rotate]] ``` - back: a LED backlight used by some older devices (ST7735). It is PWM controlled for brightness - VFlip and HFlip are optional can be used to change display orientation +- rotate: for non-square *drivers*, move to portrait mode. Note that *width* and *height* must be inverted then - Default speed is 8000000 (8MHz) but SPI can work up to 26MHz or even 40MHz - SH1106 is 128x64 monochrome I2C/SPI [here]((https://www.waveshare.com/wiki/1.3inch_OLED_HAT)) - SSD1306 is 128x32 monochrome I2C/SPI [here](https://www.buydisplay.com/i2c-blue-0-91-inch-oled-display-module-128x32-arduino-raspberry-pi) @@ -93,7 +94,7 @@ SPI,width=,height=,cs=[,back=][,speed=][,HFli - SSD1327 is 256x64 grayscale 16-levels SPI in multiple sizes [here](https://www.buydisplay.com/oled-display/oled-display-module?resolution=159) - it is very nice - SSD1675 is an e-ink paper and is experimental as e-ink is really not suitable for LMS du to its very low refresh rate - ST7735 is a 128x160 65k color SPI [here](https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/1.8inch-lcd-module.htm). This needs a backlight control -- ST7789 (coming) +- ST7789 is a 240x320 65k (262k not enabled) color SPI [here](https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/2inch-lcd-module.htm). It also exist with 240x240 displays. See **rotate** for use in portrait mode To use the display on LMS, add repository https://raw.githubusercontent.com/sle118/squeezelite-esp32/master/plugin/repo.xml. You will then be able to tweak how the vu-meter and spectrum analyzer are displayed, as well as size of artwork. You can also install the excellent plugin "Music Information Screen" which is super useful to tweak the layout.