grafcet manuel

This commit is contained in:
2025-12-08 12:44:55 +01:00
parent 50a3a765d2
commit 430eeca9eb
2 changed files with 17 additions and 1 deletions

View File

@@ -6,13 +6,19 @@
#include "main.hpp"
#include "AutomForArduino.cpp"
#include <prometheus/counter.h>
#include <prometheus/gauge.h>
#include <prometheus/histogram.h>
#include <prometheus/registry.h>
#include <prometheus/exposer.h>
// Constantes de fonctionnement
#define LEVEL_MIN 2
#define FLOW_PER_PUMP 150
WINDOW *window;
int etape = 10; // Étape du grafcet : début Automatique
int etape = 0; // Étape du grafcet : début Automatique
int bp_mode, bp_mode_fm;
unsigned short pompe1, pompe2, pompe3, pompe4; // bouton des pompes 0 (arrêt) / 1 (marche)
unsigned short pompe1_old, pompe2_old, pompe3_old, pompe4_old;
@@ -778,3 +784,8 @@ void ProcessPrometheus()
{
}
void ProcessMQTT(mqtt::async_client* client)
{
}