changement du mdp du hotspot

This commit is contained in:
pgp 2022-03-15 15:33:23 +01:00
parent 70e5ca43ad
commit ce862ccc0d
3 changed files with 14 additions and 10 deletions

View file

@ -3,5 +3,8 @@
// for the documentation about the extensions.json format // for the documentation about the extensions.json format
"recommendations": [ "recommendations": [
"platformio.platformio-ide" "platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
] ]
} }

View file

@ -1,5 +1,5 @@
#define MQTT_USER "capteurs" #define MQTT_USER "capteurs"
#define MQTT_MDP "Fablab" #define MQTT_MDP "Fablab"
#define SSID "Thermo-Bibli" #define SSID "Thermo-Bibli"
#define SSID_PWD "12453801" #define SSID_PWD "17413278"

View file

@ -5,7 +5,7 @@
using namespace std; using namespace std;
DHT sensors[SENSORS_NUMBER] = {DHT(23, DHT22), DHT(22, DHT22), DHT(21, DHT22), DHT(17, DHT22), DHT(2, DHT22)}; DHT sensors[SENSORS_NUMBER] = {DHT(4, DHT22), DHT(5, DHT22), DHT(18, DHT22), DHT(19, DHT22), DHT(21, DHT22)};
float temp[SENSORS_NUMBER]; float temp[SENSORS_NUMBER];
float hum[SENSORS_NUMBER]; float hum[SENSORS_NUMBER];
@ -139,9 +139,10 @@ void setup()
setupMQTT(MQTT_ADDRESS, MQTT_PORT); setupMQTT(MQTT_ADDRESS, MQTT_PORT);
initSensors(sensors, SENSORS_NUMBER); initSensors(sensors, SENSORS_NUMBER);
TimeClient.begin(); TimeClient.begin();
delay(2000);
} }
//-------------------- Boucle pricipale --------------------// //-------------------- Boucle principale --------------------//
void loop() void loop()
{ {