diff --git a/Hardware-Plaforms/ESP32-A1S-Audiokit/README.md b/Hardware-Plaforms/ESP32-A1S-Audiokit/README.md index 88f7609..2cec25f 100644 --- a/Hardware-Plaforms/ESP32-A1S-Audiokit/README.md +++ b/Hardware-Plaforms/ESP32-A1S-Audiokit/README.md @@ -5,7 +5,7 @@ * When switching over to use analogRead() one has to modify buttonHandler() in my code. * Additionaly I unsoldered resistor R14 in order to deactivate LED D4 (probably not necessary) -## GPIOs (outdated; will be updated soon!) +## GPIOs (outdated! Best have a look at settings-espa1s.h) Please note: You need to unsolder R66, 67, 68, 69, 70 first to use the board that way! | GPIO | Usage | Pin | Comment | diff --git a/src/settings-espa1s.h b/src/settings-espa1s.h index ecadca6..c91930a 100644 --- a/src/settings-espa1s.h +++ b/src/settings-espa1s.h @@ -4,11 +4,12 @@ //######################### INFOS #################################### /* This is a develboard-specific config-file for *AI Tinker ESP32-A1S-AudioKit*. It's highly customized and almost certainly - not suitable for a different develboards. - Has a lot of stuff already onboard but needs some soldering rework as there are not all GPIOs exposed + not suitable for a different develboard. + Has a lot of stuff already onboard but needs some soldering rework as there are not all GPIOs exposed. PCB: Not necessary. Infos: https://github.com/Ai-Thinker-Open/ESP32-A1S-AudioKit - Status: untested + https://forum.espuino.de/t/esp32-audio-kit-esp32-a1s/106 + Status: tested by kkloesner with RC522-I2C */ @@ -21,7 +22,7 @@ #define SPISD_SCK 14 // GPIO for clock-signal (SD) => not necessary for single-SPI #endif - // RFID (via SPI; currently not supported) + // RFID (via SPI; currently not supported!) #if defined(RFID_READER_TYPE_MFRC522_SPI) #define RST_PIN 99 // Not necessary but has to be set anyway; so let's use a dummy-number #define RFID_CS 21 // GPIO for chip select (RFID) @@ -62,8 +63,8 @@ #endif // Control-buttons (set to 99 to DISABLE; 0->39 for GPIO; 100->115 for port-expander) - #define NEXT_BUTTON 199 // Button 0: GPIO to detect next - #define PREVIOUS_BUTTON 198 // Button 1: GPIO to detect previous + #define NEXT_BUTTON 99 // Button 0: GPIO to detect next + #define PREVIOUS_BUTTON 99 // Button 1: GPIO to detect previous #define PAUSEPLAY_BUTTON 36 // Button 2: GPIO to detect pause/play #define BUTTON_4 99 // Button 4: unnamed optional button #define BUTTON_5 99 // Button 5: unnamed optional button @@ -78,7 +79,7 @@ // (optional) Neopixel #if defined(NEOPIXEL_ENABLE) - #define LED_PIN 23 // GPIO for Neopixel-signaling + #define LED_PIN 23 // GPIO for Neopixel-signaling #endif // (optinal) Headphone-detection