diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..72e2c2b --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Clément Saillant + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index c0a8210..a41b951 100644 --- a/README.md +++ b/README.md @@ -333,10 +333,17 @@ Pour obtenir de l'aide : ## Crédit -Projet original adapté pour PlatformIO. Code source basé sur les exemples et tutoriels de la communauté ESP32/Arduino. +Projet développé et adapté pour PlatformIO par **Clément Saillant (electron-rare)** : +- GitHub : https://github.com/electron-rare + +Code source basé sur des exemples et tutoriels de la communauté ESP32/Arduino. Bibliothèques utilisées : - PxMatrix par 2dom (Dominic Buchstaller) - RTClib par Adafruit - Adafruit GFX Library - Adafruit BusIO + +## Licence + +Ce projet est distribué sous licence **MIT**. Voir le fichier `LICENSE` pour le texte complet. diff --git a/examples/fullscreen_countdown_web.cpp b/examples/fullscreen_countdown_web.cpp index 1afcf60..fb24c54 100644 --- a/examples/fullscreen_countdown_web.cpp +++ b/examples/fullscreen_countdown_web.cpp @@ -9,7 +9,7 @@ * * L'interface web est accessible à l'adresse http://ip_de_l'esp32/ * - * Auteur: GitHub Copilot + * Auteur: Clément Saillant (electron-rare) * Date: Août 2025 */ @@ -48,6 +48,13 @@ #include "freertos/queue.h" #include "freertos/semphr.h" +// Version firmware (uniformisé avec main) +static const char* FIRMWARE_VERSION = "1.0.0"; // garder synchro avec src/main.cpp + +// === Personnalisation Auteur / GitHub === +static const char* AUTHOR_NAME = "Clément Saillant (electron-rare)"; +static const char* GITHUB_URL = "https://github.com/electron-rare"; + // Pins pour la matrice LED #define P_LAT 5 #define P_A 19 @@ -383,6 +390,7 @@ int displayFormat = 0; const char MAIN_page[] PROGMEM = R"rawliteral(
+Projet : ESP32 P10 RGB 32x16 Digital Clock (PlatformIO)
" +"Auteur : Clément Saillant (electron-rare)
" +"Ce projet est distribué sous licence MIT. Voir le fichier LICENSE dans le dépôt.
MIT License\n\nCopyright (c) 2025 Clément Saillant\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\n... (version abrégée, texte complet dans le dépôt) ...\n" +"" +""; diff --git a/src/main.cpp b/src/main.cpp index d35434f..720de49 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,6 +49,9 @@ static inline bool isFastBoot(){ #include