From 57ae93447c3fec2bb3d93ed8a7a3219c0e49e893 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 6 Oct 2020 08:33:25 -0700 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index adec5401..09cb3fe4 100644 --- a/README.md +++ b/README.md @@ -102,10 +102,11 @@ NB: For well-known configuration, this is ignored ### Display 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[,rotate]] +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|ST7789[,rotate]] ``` - 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 - 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