diff --git a/README.md b/README.md index 6e89130..65b1051 100644 --- a/README.md +++ b/README.md @@ -81,9 +81,10 @@ Die SD Karte (Ordner mp3 und advert) hat sich gegenüber der Version 3.1.2 geän # Change Log ## Version 3.1.5 (21.01.2024) +- [Issue 162](https://github.com/tonuino/TonUINO-TNG/issues/162): Prepare optional feature ROTARY_ENCODER for Nano Every - [Issue 160](https://github.com/tonuino/TonUINO-TNG/issues/160): Improve the description for platform.io in the Readme -## Version 3.1.5 (12.12.2023) +## Version 3.1.5 (21.01.2024) - [Issue 153](https://github.com/tonuino/TonUINO-TNG/issues/153): Some improvements of the DF Player handling - [Issue 149](https://github.com/tonuino/TonUINO-TNG/issues/149): Add possibility to reset the current track on hoerbuch mode - [Issue 148](https://github.com/tonuino/TonUINO-TNG/issues/148): New handling of prev and next button on first and last track diff --git a/src/constants.hpp b/src/constants.hpp index 2fa2167..f92ce2a 100644 --- a/src/constants.hpp +++ b/src/constants.hpp @@ -42,8 +42,8 @@ */ //#define DISABLE_SHUTDOWN_VIA_BUTTON -/* uncomment the below line to enable the rotary encoder for volume setting (only for AiOplus) - * um den Drehgeber zu unterstützen bitte in der nächste Zeile den Kommentar entfernen (nur für AioPlus) +/* uncomment the below line to enable the rotary encoder for volume setting (only for AiOplus and Nano Every) + * um den Drehgeber zu unterstützen bitte in der nächste Zeile den Kommentar entfernen (nur für AioPlus und Nano Every) */ //#define ROTARY_ENCODER #ifdef ALLinONE_Plus @@ -55,6 +55,10 @@ inline constexpr uint8_t rotaryEncoderClkPin = 36; // PF2 inline constexpr uint8_t rotaryEncoderDtPin = 37; // PF3 #endif // ALLinONE_Plus +#ifdef TonUINO_Every +inline constexpr uint8_t rotaryEncoderClkPin = 8; // D8 +inline constexpr uint8_t rotaryEncoderDtPin = 6; // D6 +#endif // TonUINO_Every /* uncomment the below line to enable the poti for volume setting