Skip to content

Commit 95e142d

Browse files
committed
Clear fake timeout, update readme
1 parent 14c0dcd commit 95e142d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Connection diagram for ESP8266 firmware:
2323
|ENABLE|3.3v |
2424
|TX|TX |
2525
|RX|RX |
26-
|RESET|GND |
26+
|GPIO0|GND |
2727

2828
> It is also necessary to close reset and gnd on the arduino.
2929
@@ -42,7 +42,7 @@ Connection diagram for ESP8266 firmware:
4242
|ESP8266|ARDUINO UNO |
4343
|--|--|
4444
|GND |GND |
45-
|VIN|3.3v |
45+
|3V3|3.3v |
4646
|ENABLE|3.3v |
4747
|TX|Serial 3 |
4848
|RX|Serial 2 |

api/api.ino

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ void setup() {
2020
WiFi.begin(ssid, password);
2121
while (WiFi.status() != WL_CONNECTED) {
2222
delay(500);
23-
Serial.print(".");
23+
// Serial.print(".");
2424
}
25-
Serial.println("WiFi connected");
26-
Serial.print("IP address: ");
27-
Serial.println(WiFi.localIP());
25+
Serial.print("WiFi ok.");
2826
}
2927

3028
void loop() {
@@ -70,5 +68,4 @@ void getData() {
7068
}
7169
http.end();
7270
}
73-
delay(timeout);
7471
}

0 commit comments

Comments
 (0)