Compare commits
No commits in common. "df70f8bd0577818fe2865128117ab0210b084801" and "2dee4781fc9cfcf03fd7c15261adc2b27f657c5f" have entirely different histories.
df70f8bd05
...
2dee4781fc
11
app/app.ino
11
app/app.ino
|
@ -5,17 +5,6 @@
|
||||||
#include <FS.h>
|
#include <FS.h>
|
||||||
|
|
||||||
void setup_mode() {
|
void setup_mode() {
|
||||||
WiFi.softAP(ssid, password); // Start the access point
|
|
||||||
Serial.print("Access Point \"");
|
|
||||||
Serial.print(ssid);
|
|
||||||
Serial.println("\" started");
|
|
||||||
|
|
||||||
Serial.print("IP address:\t");
|
|
||||||
Serial.println(
|
|
||||||
WiFi.softAPIP()); // Send the IP address of the ESP8266 to the computer
|
|
||||||
}
|
|
||||||
|
|
||||||
void connect() {
|
|
||||||
WiFi.mode(WIFI_STA);
|
WiFi.mode(WIFI_STA);
|
||||||
WiFi.hostname("flash-httpd");
|
WiFi.hostname("flash-httpd");
|
||||||
WiFi.begin("WEMOS", "SNAPWIRE");
|
WiFi.begin("WEMOS", "SNAPWIRE");
|
||||||
|
|
Loading…
Reference in New Issue