Added TTGO T-Watch to Presets

This commit is contained in:
Sebastien L
2021-12-10 15:45:53 -05:00
parent f8903770c2
commit 2e061f5cec
2 changed files with 13 additions and 14 deletions

View File

@@ -11,19 +11,7 @@
"spdif_config": ""
}
]
}, {
"name": "ESP32A1S Old Model config 2 (AC101)",
"config": [{
"dac_config": "model=AC101,bck=27,ws=26,do=25,di=35,sda=33,scl=32"
}, {
"dac_controlset": ""
}, {
"set_GPIO": "21=amp,22=green:0,5=jack:0"
}, {
"spdif_config": ""
}
]
}, {
}, {
"name": "ESP32A1S V2.2+ variant 1 (ES8388)",
"config": [{
"dac_config": "model=ES8388,bck=27,ws=25,do=26,sda=33,scl=32,di=35,i2c=16"
@@ -47,5 +35,16 @@
"spdif_config": ""
}
]
},
{
"name": "T-WATCH2020 by LilyGo",
"config": [
{"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\":64, \"mode\":\"or\"} ], \"poweroff\": [ {\"reg\":18, \"val\":191, \"mode\":\"and\"} ] }"},
{"set_GPIO": "21=amp,22=green:0,39=jack:0"},
{"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"},
{"spdif_config": ""}
]
}
]