add test heure
This commit is contained in:
parent
0762c38c47
commit
1acf1821e6
@ -5,7 +5,7 @@ Program::Program() {
|
|||||||
Serial.begin(MONITOR_SPEED);
|
Serial.begin(MONITOR_SPEED);
|
||||||
|
|
||||||
WiFi.begin(WSSID, PASS);
|
WiFi.begin(WSSID, PASS);
|
||||||
|
|
||||||
Serial.print("Connecting to ");
|
Serial.print("Connecting to ");
|
||||||
Serial.print(WSSID); Serial.println(" ...");
|
Serial.print(WSSID); Serial.println(" ...");
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ Program::Program() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Serial.println('\n');
|
Serial.println('\n');
|
||||||
Serial.println("Connection established!");
|
Serial.println("Connection established!");
|
||||||
Serial.print("IP address:\t");
|
Serial.print("IP address:\t");
|
||||||
Serial.println(WiFi.localIP()); // Send the IP address of the ESP8266 to the computer
|
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);
|
this->discord = new DiscordAPI(DISCORD_HOOK);
|
||||||
Serial.println(this->discord->sendMessage("hello the world !!"));
|
Serial.println(this->discord->sendMessage("hello the world !!"));
|
||||||
|
delay(1000);
|
||||||
|
Serial.println(this->discord->sendheure("10h", "18h"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Program::loop() {
|
void Program::loop() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user