From eaa35b36773284e90429ae1b61ac9a816fd27ee7 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 29 Aug 2023 11:45:49 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 114c4f8c..7248151e 100644 --- a/README.md +++ b/README.md @@ -287,14 +287,14 @@ Each expander can support up to 32 GPIO. To use an expander for buttons, an inte The parameter "gpio_exp_config" is a semicolon (;) separated list with following syntax for each expander ``` -model=,addr=,[,port=system|dac][,base=|100][,count=|16][,intr=][,cs=][,speed=] +model=,addr=,[,port=system|dac][,base=][,count=][,intr=][,cs=][,speed=] ``` - model: pca9535, pca85xx, mcp23017 and mcp23s17 (SPI version) - addr: chip i2c/spi address (decimal) - port (I2C): use either "system" port (shared with display for example) or "dac" port (system is default) - cs (SPI): gpio used for Chip Select - speed (SPI): speed of the SPI bus for that device (in Hz) -- base: GPIO numbering offset to use everywhere else (default 40) +- base: GPIO numbering offset to use everywhere else (default 40 on esp32 and 48 on esp32-s3) - count: number of GPIO of expander (default 16 - might be obsolted if model if sufficient to decide) - intr: real GPIO to use as interrupt.