This commit is contained in:
Rémi Heredero
2021-04-16 21:15:54 +02:00
commit fec6f19309
19 changed files with 1122 additions and 0 deletions

16
lib/Reseau/Reseau.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef RESEAU_H_INCLUDED
#define RESEAU_H_INCLUDED
#define ID 18
//de 0 à 255
#define SERVEUR_MQTT 192,168,8,100
#define PORT 1883
boolean setup_reseau ();
boolean loop_reseau();
boolean publish(String topic, String msg);
void AddParametre (String topic, int defaut = 0);
int ReadParametre (String topic);
void ResetValues ();
#endif