Update README.md

This commit is contained in:
philippe44
2020-02-10 13:19:46 -08:00
committed by GitHub
parent a47812bb5d
commit 55e0efdb4a

View File

@@ -35,9 +35,9 @@ The NVS parameter "i2c_config" set the i2c's gpio used for generic purpose (e.g.
sda=<gpio>,scl=<gpio>,port=0|1
```
### SPI
The NVS parameter "spi_config" set the spi's gpio used for generic purpose (e.g. display). Leave it blank to disable SPI usage. The D/C parameter is needed for displays. Syntax is
The NVS parameter "spi_config" set the spi's gpio used for generic purpose (e.g. display). Leave it blank to disable SPI usage. The DC parameter is needed for displays. Syntax is
```
data=<gpio>,clk=<gpio>[,d/c=<gpio>][,host=0|1|2]
data=<gpio>,clk=<gpio>[,dc=<gpio>][,host=0|1|2]
```
### DAC/I2S
The NVS parameter "dac_config" set the gpio used for i2s communication with your DAC. You can also define these at compile time but nvs parameter takes precedence. Note that on SqueezeAMP and A1S, these are forced at runtime, so this parameter does not matter. If your DAC also requires i2c, then you must go the re-compile route. Syntax is