From 9d7c0eb48ffed1fae2a4180a8393d0b57df08134 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Sun, 2 Aug 2020 18:17:13 -0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d176ef2d..ebdf944b 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ The parameter "dac_controlset" allows definition of simple commands to be sent o poweron: [ {"reg":,"val":,"mode":|"or"|"and"}, ... {{"reg":,"val":,"mode":|"or"|"and"} ], poweroff: [ {"reg":,"val":,"mode":|"or"|"and"}, ... {{"reg":,"val":,"mode":|"or"|"and"} ] } ``` -This is standard JSON notation, so if you are not familiar with it, Google is your best friend. Be aware that the '...' means you can have as many entries as you want, it's not part of the syntax. Every section is optional, but tht does not make sense to set i2c in the 'dac_config' parameter and not setting anything here. The parameter 'mode' allows to *or* the register with the value or to *and* it. Don't set 'mode' if you simply want to write. **Note that all values must be decimal** +This is standard JSON notation, so if you are not familiar with it, Google is your best friend. Be aware that the '...' means you can have as many entries as you want, it's not part of the syntax. Every section is optional, but it does not make sense to set i2c in the 'dac_config' parameter and not setting anything here. The parameter 'mode' allows to *or* the register with the value or to *and* it. Don't set 'mode' if you simply want to write. **Note that all values must be decimal** ### SPDIF The NVS parameter "spdif_config" sets the i2s's gpio needed for SPDIF.