From 1acf1821e6b2950fcacc1aac1a00186d252bc743 Mon Sep 17 00:00:00 2001 From: Clement Date: Fri, 18 Aug 2023 18:51:52 +0200 Subject: [PATCH] add test heure --- src/Program.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Program.cpp b/src/Program.cpp index 0c5e066..4083710 100644 --- a/src/Program.cpp +++ b/src/Program.cpp @@ -5,7 +5,7 @@ Program::Program() { Serial.begin(MONITOR_SPEED); WiFi.begin(WSSID, PASS); - + Serial.print("Connecting to "); Serial.print(WSSID); Serial.println(" ..."); @@ -16,7 +16,7 @@ Program::Program() { } Serial.println('\n'); - Serial.println("Connection established!"); + Serial.println("Connection established!"); Serial.print("IP address:\t"); Serial.println(WiFi.localIP()); // Send the IP address of the ESP8266 to the computer @@ -24,6 +24,8 @@ Program::Program() { this->discord = new DiscordAPI(DISCORD_HOOK); Serial.println(this->discord->sendMessage("hello the world !!")); + delay(1000); + Serial.println(this->discord->sendheure("10h", "18h")); } void Program::loop() {