Parcourir la source

Update README.md

philippe44 il y a 5 ans
Parent
commit
9967f13478
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -15,6 +15,12 @@ The board showed above has the following IO sets
 - jack insertion: GPIO39 (inserted low)
 - LED: GPIO22 (active low)
 
+So a possible config woudl be
+- set_GPIO: 21=amp,22=green:0,39=jack:0
+- 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"}}]
+```
+
 ### ESP32-WROVER + I2S DAC
 Squeezelite-esp32 requires esp32 chipset and 4MB PSRAM. ESP32-WROVER meets these requirements. To get an audio output an I2S DAC can be used. Cheap PCM5102 I2S DACs work others may also work. PCM5012 DACs can be hooked up via: