mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-29 22:00:54 +03:00
Start of 5.X work
This commit is contained in:
96
spiffs_src/targets/esp32-a1s-ac101/config.json
Normal file
96
spiffs_src/targets/esp32-a1s-ac101/config.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"gpios": {
|
||||
"redLED": {
|
||||
"gpio": {
|
||||
"pin": 19,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"greenLED": {
|
||||
"gpio": {
|
||||
"pin": 22,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"amp": {
|
||||
"pin": 21,
|
||||
"level": "HIGH"
|
||||
},
|
||||
"jack": {
|
||||
"pin": 39,
|
||||
"level": "LOW"
|
||||
}
|
||||
},
|
||||
"dev": {
|
||||
"dac": {
|
||||
"bck": 27,
|
||||
"ws": 26,
|
||||
"dout": 25,
|
||||
"din": 35,
|
||||
"model": "AC101",
|
||||
"i2c": {
|
||||
"port": "PORT0",
|
||||
"speed": 400000,
|
||||
"sda": 33,
|
||||
"scl": 32
|
||||
},
|
||||
"jack_mutes_amp": false
|
||||
},
|
||||
"root_button_profile": "default",
|
||||
"buttons_profiles": [
|
||||
{
|
||||
"profile_name": "default",
|
||||
"buttons": [
|
||||
{
|
||||
"gpio": {
|
||||
"pin": 5
|
||||
},
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type": "A_TOGGLE"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpio": {
|
||||
"pin": 18
|
||||
},
|
||||
"pull": true,
|
||||
"shifter": 5,
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type": "A_VOLUP"
|
||||
}
|
||||
},
|
||||
"shifted": {
|
||||
"pressed": {
|
||||
"type": "A_NEXT"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpio": {
|
||||
"pin": 23
|
||||
},
|
||||
"pull": true,
|
||||
"shifter": 5,
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type": "A_VOLDOWN"
|
||||
}
|
||||
},
|
||||
"shifted": {
|
||||
"pressed": {
|
||||
"type": "A_PREV"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user