-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit c73c567 Author: Frédéric Metrich <frederic.metrich@siemens.com> Date: Mon Feb 26 11:11:24 2024 +0100 Add some alias for type_trait commit eb53c16 Author: Frédéric Metrich <frederic.metrich@siemens.com> Date: Mon Feb 26 11:10:55 2024 +0100 Update color in schematic commit eac769e Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Thu Feb 15 21:29:47 2024 +0100 Update Readme.md (#82) commit 82d84ee Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Tue Feb 13 14:37:48 2024 +0100 Added Thermostat_tri_HC.pdf commit fad5e19 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Tue Feb 13 14:36:53 2024 +0100 Update Thermostat_tri_HC.drawio commit f03b4ca Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Mon Feb 12 11:07:04 2024 +0100 WIP: 1772479 Fix mvAvg commit 5e5646a Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Mon Feb 5 00:04:30 2024 +0100 Update CodeQL commit 4684e01 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:35:01 2024 +0100 Upt readme commit d957494 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:32:24 2024 +0100 Try again commit 46884f3 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:30:21 2024 +0100 Try fix commit c7db21e Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:28:09 2024 +0100 Fix readme commit 248a89a Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:23:14 2024 +0100 Reorganize readmes commit fff68e0 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:11:19 2024 +0100 Fix branch name commit 656308b Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:10:39 2024 +0100 Fix filenames commit b911d8d Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:08:55 2024 +0100 Fix links commit 83d5591 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Sun Feb 4 23:07:18 2024 +0100 Multilinugal readme + more details commit 1772479 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Fri Feb 2 11:39:13 2024 +0100 Fix mvAvg commit 90204aa Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Mon Jan 22 22:02:08 2024 +0100 Fix relay template commit eef84ea Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Mon Jan 22 16:36:28 2024 +0100 Enhanced sliding average... commit 1ea9c53 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Tue Nov 14 05:22:20 2023 +0100 Reorganize folders commit 8522341 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Tue Nov 14 05:20:39 2023 +0100 Upd commit a6a660b Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Wed Nov 8 23:11:58 2023 +0100 Update Readme.md commit 145c86e Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Mon Nov 6 09:13:08 2023 +0100 Update Readme.md commit 4d0936b Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Mon Nov 6 07:40:13 2023 +0100 Update Readme.md commit 85910b9 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Mon Nov 6 07:21:08 2023 +0100 Update Readme.md commit efbda93 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Mon Nov 6 07:19:52 2023 +0100 Update Readme.md (#79) commit cfb0204 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Wed Oct 4 07:58:16 2023 +0200 Formatting commit e0cefcd Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Thu Sep 21 17:29:28 2023 +0200 Fix comment commit 0cf1661 Author: Frédéric Metrich <45318189+FredM67@users.noreply.github.com> Date: Thu Sep 21 13:21:59 2023 +0200 Update schema
- Loading branch information
Frédéric Metrich
committed
Feb 26, 2024
1 parent
839af94
commit 26f896b
Showing
46 changed files
with
2,633 additions
and
1,506 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ c_cpp_properties.json | |
inols* | ||
logs | ||
docs/.$*.drawio.* | ||
*.res.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[![en](https://img.shields.io/badge/lang-en-red.svg)](https://github.com/FredM67/PVRouter-3-phase/blob/main/Mk2_3phase_RFdatalog_temp/Readme.md) | ||
|
||
Ce programme doit être utilisé avec l’IDE Arduino et/ou d’autres IDE de développement comme VSCode + PlatformIO. | ||
|
||
# Utilisation avec Arduino IDE | ||
|
||
Vous devrez télécharger et installer la version la plus récente de l'[Arduino IDE](https://www.arduino.cc/en/software). | ||
|
||
Téléchargez la version « standard », PAS la version du Microsoft Store. | ||
Procurez-vous la version « Win 10 et plus récent, 64 bits » ou la version « MSI installer ». | ||
|
||
Étant donné que le code est optimisé avec l'une des dernières normes de C++, vous devrez modifier un fichier de configuration pour activer C++17. | ||
|
||
Veuillez rechercher le fichier '**platform.txt**' situé dans le chemin d’installation de l’IDE Arduino. | ||
|
||
Pour **Windows**, typiquement, vous trouverez le fichier dans '**C:\Program Files (x86)\Arduino\hardware\arduino\avr**' et/ou dans '**%LOCALAPPDATA%\Arduino15\packages\arduino\hardware\avr\x.y.z**' où 'x.y.z' est la version du package **Arduino AVR Boards**. | ||
|
||
Vous pouvez aussi taper cette commande dans un Powershell : `Get-Childitem –Path C:\ -Include platform.txt -Recurse -ErrorAction SilentlyContinue`. Cela peut prendre quelques secondes/minutes jusqu’à ce que le fichier soit trouvé. | ||
|
||
Pour **Linux**, si vous utilisez le paquet AppImage, vous trouverez ce fichier dans '**~/.arduino15/packages/arduino/hardware/avr/1.8.6**'. | ||
Vous pouvez exécuter `find / -name platform.txt 2>/dev/null` au cas où l’emplacement aurait été modifié. | ||
|
||
Modifiez le fichier dans n’importe quel éditeur de texte (vous aurez besoin des **droits d’administrateur**) et remplacez le paramètre '**-std=gnu++11**' par '**-std=gnu++17**'. Voilà! | ||
|
||
Si votre IDE Arduino a été ouvert, veuillez fermer toutes les instances et l’ouvrir à nouveau. | ||
|
||
# Utilisation avec Visual Studio Code | ||
|
||
Vous devrez installer des extensions supplémentaires. Les extensions les plus populaires et les plus utilisées pour ce travail sont '*Arduino*' et '*Platform IO*'. | ||
|
||
# Aperçu rapide des fichiers | ||
|
||
- **Mk2_3phase_RFdatalog_temp.ino** : Ce fichier est nécessaire pour l’IDE Arduino | ||
- **calibration.h** : contient les paramètres d’étalonnage | ||
- **config.h** : les préférences de l’utilisateur sont stockées ici (affectation des broches, fonctionnalités, ...) | ||
- **config_system.h** : constantes système rarement modifiées | ||
- **constants.h** : quelques constantes - *ne pas modifier* | ||
- **debug.h** : Quelques macros pour la sortie série et le débogage | ||
- **dualtariff.h** : définitions de la fonction double tarif | ||
- **main.cpp** : code source principal | ||
- **main.h** : prototypes de fonctions | ||
- **movingAvg.h** : code source pour la moyenne glissante | ||
- **processing.cpp** : code source du moteur de traitement | ||
- **processing.h** : prototypes de fonctions du moteur de traitement | ||
- **Readme.fr.md** : ce fichier | ||
- **types.h** : définitions des types, ... | ||
- **type_traits.h** : quelques trucs STL qui ne sont pas encore disponibles dans le paquet avr | ||
- **type_traits** : contient des patrons STL manquants | ||
- **utils_relay.h** : code source de la fonctionnalité *diversion par relais* | ||
- **utils_rf.h** : code source de la fonction *RF* | ||
- **utils_temp.h** : code source de la fonctionnalité *Température* | ||
- **utils.h** : fonctions d’aide et trucs divers | ||
- **validation.h** : validation des paramètres, ce code n’est exécuté qu’au moment de la compilation ! | ||
- **platformio.ini** : paramètres PlatformIO | ||
- **inject_sketch_name.py** : script d'aide pour PlatformIO | ||
- **Doxyfile** : paramètre pour Doxygen (documentation du code) | ||
|
||
L’utilisateur final ne doit éditer QUE les fichiers **calibration.h** et **config.h**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.