Die entsprechende Änderung ist schon in issue 254 der SW enthalten.
/* #### Classic/Every ######################################################################
* | A0| A1| A2| A3| A4| A5| A6| A7| D0| D1| D2| D3| D5| D6| D7| D8|
* ------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
* Com to DF Player | | | | | | | | |RX*|TX*| RX| TX| | | | |
* 3 Button | P | U | D | | | | | | | | | | | | | |
* 5 Button | P | V+| V-| U | D | | | | | | | | | | | |
* 3x3 Button Board | P | U | D | A | | | | | | | | | | | | |
* Open pin for random | | | | | | | | x | | | | | | | | |
* Rotary encoder | | | |CLK| DT| | | | | | | | | | | |
* Poti | | | | x | | | | | | | | | | | | |
* Neo Ring/LED animat. | | | | | | | | | | |(x)| | x | | | |
* Speaker off | | | | | | | | | | | | | | x | | |
* Shutdown | | | | | | | | | | | | | | | x | |
* headphone jack detection| | | | | | | | | | | | | | | | x |
* special start shortcut | | | | | | | x | | | | | | | | | |
* bat voltage measurement | | | | | | x | | | | | | | | | | |
* Bluetooth ON/OFF | | | | | | | | | | | x*| | | x | | |
* Bluetooth Pairing | | | | | | | | | | | | x*| | | | x |
* #########################################################################################
*
* (*) Hardware Serial on Every
*/
Hier sind allerdings die Anschlüsse D6 und D8 verwendet, da D5 auch gemeinsam mit Bluetooth noch zur Ansteuerung der Neopixel verwendet werden kann (wie schon ürsprünglich vorgesehen).
Hier die Änderungen im Code der constants.hpp:
//#define BT_MODULE
#ifdef DFPlayerUsesHardwareSerial
inline constexpr uint8_t btModuleOnPin = 2; // D2
inline constexpr uint8_t btModulePairingPin = 3; // D3
#else
inline constexpr uint8_t btModuleOnPin = 6; // D6
inline constexpr uint8_t btModulePairingPin = 8; // D8
#endif
inline constexpr levelType btModuleOnPinType = levelType::activeHigh;
inline constexpr levelType btModulePairingPinType = levelType::activeHigh;
inline constexpr unsigned long btModulePairingPulse = 500;
Zur Verwendung meiner Schaltung musste ich noch „levelType::activeLow“ setzen.
Dann läuft es mit einem Nano auch prima.