diff --git a/README.md b/README.md index b4f1e593..86f078c2 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ So a possible config would be This is a fun [smartwatch](http://www.lilygo.cn/prod_view.aspx?TypeId=50036&Id=1290&FId=t3:50036:3) based on ESP32. It has a 240x240 ST7789 screen and onboard audio. Not very useful to listen to anything but it works. This is an example of a device that requires an I2C set of commands for its dac (see below). There is a build-option if you decide to rebuild everything by yourself, otherwise the I2S default option works with the following parameters - dac_config: model=I2S,bck=26,ws=25,do=33,i2c=106,sda=21,scl=22 -- dac_controlset: { "init": [ {"reg":41, "val":128}, {"reg":18, "val":255} ], "poweron": [ {"reg":18, "val":2}, "mode":"or" ], "poweroff": [ {"reg":18, "val":253}, "mode":"and" ] } +- dac_controlset: { "init": [ {"reg":41, "val":128}, {"reg":18, "val":255} ], "poweron": [ {"reg":18, "val":64, "mode":"or"} ], "poweroff": [ {"reg":18, "val":191, "mode":"and"} ] } - spi_config: dc=27,data=19,clk=18 - display_config: SPI,driver=ST7789,width=240,height=240,cs=5,back=12,speed=16000000,HFlip,VFlip ### ESP32-WROVER + I2S DAC