changement du mdp du hotspot
This commit is contained in:
parent
70e5ca43ad
commit
ce862ccc0d
17
.vscode/extensions.json
vendored
17
.vscode/extensions.json
vendored
|
@ -1,7 +1,10 @@
|
||||||
{
|
{
|
||||||
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
||||||
// 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue