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() {