File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Connection diagram for ESP8266 firmware:
23
23
| ENABLE| 3.3v |
24
24
| TX| TX |
25
25
| RX| RX |
26
- | RESET | GND |
26
+ | GPIO0 | GND |
27
27
28
28
> It is also necessary to close reset and gnd on the arduino.
29
29
@@ -42,7 +42,7 @@ Connection diagram for ESP8266 firmware:
42
42
| ESP8266| ARDUINO UNO |
43
43
| --| --|
44
44
| GND | GND |
45
- | VIN | 3.3v |
45
+ | 3V3 | 3.3v |
46
46
| ENABLE| 3.3v |
47
47
| TX| Serial 3 |
48
48
| RX| Serial 2 |
Original file line number Diff line number Diff line change @@ -20,11 +20,9 @@ void setup() {
20
20
WiFi.begin (ssid, password);
21
21
while (WiFi.status () != WL_CONNECTED) {
22
22
delay (500 );
23
- Serial.print (" ." );
23
+ // Serial.print(".");
24
24
}
25
- Serial.println (" WiFi connected" );
26
- Serial.print (" IP address: " );
27
- Serial.println (WiFi.localIP ());
25
+ Serial.print (" WiFi ok." );
28
26
}
29
27
30
28
void loop () {
@@ -70,5 +68,4 @@ void getData() {
70
68
}
71
69
http.end ();
72
70
}
73
- delay (timeout);
74
71
}
You can’t perform that action at this time.
0 commit comments