mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-02-01 07:10:57 +03:00
Update README.md
This commit is contained in:
@@ -14,12 +14,13 @@ The board showed above has the following IO set
|
|||||||
- key1: not sure, something with GPIO36
|
- key1: not sure, something with GPIO36
|
||||||
- jack insertion: GPIO39 (inserted low)
|
- jack insertion: GPIO39 (inserted low)
|
||||||
- LED: GPIO22 (active low)
|
- LED: GPIO22 (active low)
|
||||||
|
(note that GPIO need pullups)
|
||||||
|
|
||||||
So a possible config would be
|
So a possible config would be
|
||||||
- set_GPIO: 21=amp,22=green:0,39=jack:0
|
- set_GPIO: 21=amp,22=green:0,39=jack:0
|
||||||
- a button mapping:
|
- a button mapping:
|
||||||
```
|
```
|
||||||
[{"gpio":5,"normal":{"pressed":"ACTRLS_TOGGLE"}},{"gpio":18,"shifter_gpio":5,"normal":{"pressed":"ACTRLS_VOLUP"}, "shifted":{"pressed":"ACTRLS_NEXT"}}, {"gpio":23,"shifter_gpio":5,"normal":{"pressed":"ACTRLS_VOLDOWN"},"shifted":{"pressed":"ACTRLS_PREV"}}]
|
[{"gpio":5,"normal":{"pressed":"ACTRLS_TOGGLE"}},{"gpio":18,"pull":true,"shifter_gpio":5,"normal":{"pressed":"ACTRLS_VOLUP"}, "shifted":{"pressed":"ACTRLS_NEXT"}}, {"gpio":23,"pull":true,"shifter_gpio":5,"normal":{"pressed":"ACTRLS_VOLDOWN"},"shifted":{"pressed":"ACTRLS_PREV"}}]
|
||||||
```
|
```
|
||||||
|
|
||||||
### ESP32-WROVER + I2S DAC
|
### ESP32-WROVER + I2S DAC
|
||||||
|
|||||||
Reference in New Issue
Block a user