Update api_test.ino
This commit is contained in:
parent
f93d12aa9b
commit
7d4b302cb4
1 changed files with 1 additions and 3 deletions
|
@ -19,7 +19,7 @@ void setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
Serial.print("[ESP8266] Joining AP ... ");
|
Serial.print("[ESP8266] Joining AP ... ");
|
||||||
state = wifi.join("Tenda", "Student20-X13");
|
state = wifi.join("SSID", "PASSWORD");
|
||||||
if(state == ERR_NONE) {
|
if(state == ERR_NONE) {
|
||||||
Serial.println("success!");
|
Serial.println("success!");
|
||||||
} else {
|
} else {
|
||||||
|
@ -45,8 +45,6 @@ void setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
//wifi.send("GET / HTTP/1.1\r\nHost: www.google.com\r\nConnection: close\r\n\r\n");
|
|
||||||
|
|
||||||
//lora.transmit(pack);
|
//lora.transmit(pack);
|
||||||
|
|
||||||
//bluetooth.println("Hello World! (by Blueooth)");
|
//bluetooth.println("Hello World! (by Blueooth)");
|
||||||
|
|
Loading…
Add table
Reference in a new issue