diff --git a/README.md b/README.md index da1d547b..06700eed 100644 --- a/README.md +++ b/README.md @@ -222,12 +222,13 @@ Ground -------------------------- coax signal ground The NVS parameter "display_config" sets the parameters for an optional display. It can be I2C (see [here](#i2c) for shared bus) or SPI (see [here](#spi) for shared bus) Syntax is ``` I2C,width=,height=[address=][,reset=][,HFlip][,VFlip][driver=SSD1306|SSD1326[:1|4]|SSD1327|SH1106] -SPI,width=,height=,cs=[,back=][,reset=][,speed=][,HFlip][,VFlip][driver=SSD1306|SSD1322|SSD1326[:1|4]|SSD1327|SH1106|SSD1675|ST7735[:x=][:y=]|ST7789|ILI9341[:16|18][,rotate]] +SPI,width=,height=,cs=[,back=][,reset=][,speed=][,HFlip][,VFlip][driver=SSD1306|SSD1322|SSD1326[:1|4]|SSD1327|SH1106|SSD1675|ST7735[:x=][:y=]|ST7789|ILI9341[:16|18][,rotate][,invert] ``` - back: a LED backlight used by some older devices (ST7735). It is PWM controlled for brightness - reset: some display have a reset pin that is should normally be pulled up if unused. Most displays require reset and will not initialize well otherwise. - 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 +- invert: pixel invertion (only for ST77xx devices) - 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)